Skip to main content

run_agent

On Claude, this tool is listed only for workspaces allowed to generate media. See Claude.
Sends a message to the Tolstoy Agent, the workspace’s agent, and returns once the turn has started; the answer is read from the chat. The agent answers in text: it plans content and campaigns, writes briefs and scripts, researches the brand and its market, and reads store analytics, in one chat that continues across turns. A turn spends credits.

get_agent_chat

Reads a Tolstoy Agent chat: whether its turn is waiting, running or done, the agent’s answer for a finished turn, the images and videos that turn made, and the credits it used. It only reads.

stop_agent

Stops the running turn of a Tolstoy Agent chat, the way Stop does in the Tolstoy platform. A generation already sent to a provider still finishes and is billed.