Skip to main content
14 tools. Each one is also a REST route and a CLI command, from the same definition: the same input, the same output, the same errors.

count_unread_coach_messages

How many replies arrived since you last looked. Counts finished coach messages written after since. Replies still being written are not counted: a badge that appears before there is anything to read sends the person to an empty thread.

Input

Output

Example

get_active_coach_stream

The reply being written, if there is one. The coach message currently in flight, or null. Distinct from the latest message, which is the last finished one: a reply half-written is what the app shows a spinner for, and showing it as an answer would show half an answer.

Input

Output

Example

get_coach_day_plan

The coach’s plan for a day. What it proposed, framed at the top of Today. null when it proposed nothing.

Input

Output

Example

get_coach_status

Whether the coach has a key. Reports only that a key exists: never the key, which is not readable once stored.

Input

This tool takes no arguments.

Output

Example

get_coach_usage

What your turns cost. Every call your account made to the model, newest first, with its token counts and its price in nano-dollars under the catalogue version it was recorded with: so a price change never rewrites a past turn. At most 500 turns; narrow with since.

Input

Output

Example

get_latest_coach_message

The last thing the coach finished saying. For the banner at the top of the app. Skips a reply still being written, which would otherwise appear there half-formed.

Input

Output

Example

list_coach_messages

Read a thread. The most recent 60 messages, oldest first: a thread is read from the top, but it is the recent end that matters, so the newest are selected and then reversed.

Input

Output

Example

clear_coach_thread

Clear a thread. Deletes every message in this thread. The key and the day’s plans are untouched.

Input

Output

Example

nudge_from_coach

One sentence, unprompted. Asks the coach for a single short sentence about what is happening: the card in the corner of the screen. No tools, no thinking: a sentence does not need to reason, and reasoning would eat the budget it has. Returns null rather than failing when no key is configured, because a nudge is an embellishment and its absence must not look like a broken app.

Input

Output

Example

pep_from_coach

One line, for a focus session. The shortest thing the coach says: one energetic line at the start of a focus session. Same shape as a nudge and deliberately not the same operation: the two are asked for at different moments and read differently.

Input

Output

Example

post_coach_message

Say something to the coach. Records what you said. It does not call the model: the reply arrives separately, so a slow or failing model never loses what you typed.

Input

Output

Example

remove_coach_key

Forget the key. The thread is kept. What was already said stays readable without a key.

Input

This tool takes no arguments.

Output

Example

set_coach_intensity

Choose how hard the coach pushes. Sets the coach’s intensity for your account: one of four named steps, from gentle to relentless. It changes the voice of every reply, nudge and pep from the next one on; nothing already said is rewritten. Use it when the coach is too soft or too harsh.

Input

Output

Example

set_coach_key

Store your Anthropic key. Encrypted at rest and never returned. Fails with a 409 when the server has no encryption key configured: storing it in the clear instead is not on offer.

Input

Output

Example