Agent tools

create_voice

create_voice({ prompt, voice?, path? })

Read text aloud and save the audio. The prompt is the exact words to speak — not a description of them.

category: write~8 credits per 1 000 charactersthe prompt is the script
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

promptstringrequired

The exact text to speak.

voicestring

Which voice. Verified: Aoede (warm, default), Charon (deep), Kore (firm), Puck (bright). Another prebuilt name is passed through as it is.

pathstring

Where to save it.

The one tool whose argument is the output

Every other media tool takes a description and invents the rest

Here the argument is read out as written. « Summarise the report and read it » means the agent must first write the summary into the prompt — which is exactly why the parameter is described as the exact text.

Priced on the characters

About 8 credits per thousand characters. A long reading costs accordingly, which is worth knowing before an agent is asked to narrate a document.

Break a long reading up

One call per section gives you files you can navigate, and keeps any single call from dominating a turn.