PyAI MCP server
Endpoint: https://api.pyai.com/mcp · Authentication: Sign in with OAuth
Generate speech, transcribe audio, and work with voice agents. Sign in to PyAI with OAuth for account operations.
How do I authenticate?
Add the endpoint in your client, start Connect or Sign in, approve the requested scopes, and return to the client. OAuth discovery finds the authorization server; client registration requirements vary by provider. Follow the provider guidance and client setup below.
Authentication and connection guideConnection specification
- Remote endpoint
https://api.pyai.com/mcp- Browser access
- Not yet measured
- Declared MCP transport
- Streamable HTTP
- Live-validated MCP transport
- Not yet verified — Latest validation did not verify a transport
- Declared authentication
- OAuth 2.1
- Detected authentication
- OAuth 2.1 detected or retained from publisher evidence
- Protocol lifecycle
- Not yet negotiated
- Authorization server
https://api.pyai.com- Category
- Communication
Product documentation · Official listing documentation · ChatGPT app directory listing
Provider guidance
- A direct anonymous session negotiated MCP 2025-11-25 and listed tools. The default validator received an OAuth challenge.
More Communication MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground
Connect it
Live-validated endpoint: https://api.pyai.com/mcp · Streamable HTTP. Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.
Agent prompt for Claude Code or Codex
Add the PyAI MCP server to my MCP client configuration and verify that it works. What it is: Generate speech, transcribe audio, and work with voice agents. Sign in to PyAI with OAuth for account operations. Server URL: https://api.pyai.com/mcp Transport: Streamable HTTP (remote MCP server, no local install). Authentication: OAuth 2.1. Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks. Tools (first 25 of 59, as last observed by mcptest): calls_get, calls_list, configure_amd, configure_trace, create_agent, create_dub, create_recap, create_trace_rule_pack, create_transcription_job, direct_cast_script, discover_tools, draft_website_widget, enable_recap, get_agent, get_amd_call, get_cast_audio, get_cast_capabilities, get_cast_render, get_dub_audio, get_dub_capabilities, get_dub_job, get_recap, get_recap_config, get_started, get_trace_config. Reference: https://mcptest.io/servers/pyai/ Steps: 1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "pyai" in that client's MCP configuration, user scope unless I ask otherwise. Claude Code: claude mcp add --transport http --scope user 'pyai' 'https://api.pyai.com/mcp' Other clients: use the setup for that client on the reference page. 2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need. 3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.
Claude Code setup
Run in a terminal. This user-scoped entry is available across projects.
claude mcp add --transport http --scope user 'pyai' 'https://api.pyai.com/mcp'- After adding the server, open Claude Code, run /mcp, select the server, and follow the browser flow to authenticate.
Codex CLI setup
Run in a terminal; Codex stores the entry in ~/.codex/config.toml.
codex mcp add 'pyai' --url 'https://api.pyai.com/mcp'
codex mcp login 'pyai'Cursor setup
Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.
{
"mcpServers": {
"pyai": {
"url": "https://api.pyai.com/mcp"
}
}
}VS Code setup
Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.
{
"servers": {
"pyai": {
"type": "http",
"url": "https://api.pyai.com/mcp"
}
}
}Claude setup
Add the endpoint above in Claude:
- Customize > Connectors > Add custom connector
- Team/Enterprise: Organization settings > Connectors > Add > Custom > Web
Claude Desktop setup
Add the endpoint above in Claude Desktop:
- Remote: Customize > Connectors (same as claude.ai)
- Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows), local servers only
ChatGPT setup
Add the endpoint above in ChatGPT:
- ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning
Windsurf setup
Add the endpoint above in Windsurf:
~/.config/devin/mcp_config.json(%APPDATA%\devin\mcp_config.jsonon Windows),serverUrlorurl- Cascade panel > ... > MCPs > Open MCP config file
Gemini CLI setup
Add the endpoint above in Gemini CLI:
gemini mcp add --transport http <name> <url>~/.gemini/settings.json(user) or.gemini/settings.json(project),mcpServers
MCP SDK setup
Add the endpoint above in MCP SDK:
- Programmatic:
new Client(...).connect(new StreamableHTTPClientTransport(url))
Notes for every client
- Publisher evidence (reviewed 2026-11-25): https://pyai.com/mcp
- Provider guidance: A direct anonymous session negotiated MCP 2025-11-25 and listed tools. The default validator received an OAuth challenge.
Client compatibility
| Client | Status | Why |
|---|---|---|
| Claude Code | Supported | Claude Code supports Streamable HTTP servers and OAuth sign-in. |
| Codex | Partial | Codex CLI ignores resources: The server can still connect, but Codex CLI does not consume the advertised resources capability. Codex CLI ignores prompts: The server can still connect, but Codex CLI does not consume the advertised prompts capability. |
| Cursor | Supported | Cursor supports Streamable HTTP servers and OAuth sign-in. |
| VS Code | Supported | VS Code supports Streamable HTTP servers and OAuth sign-in. |
| Claude | Supported | Claude supports Streamable HTTP servers and OAuth sign-in. |
| Claude Desktop | Supported | Claude Desktop supports Streamable HTTP servers and OAuth sign-in. |
| ChatGPT | Partial | ChatGPT ignores resources: The server can still connect, but ChatGPT does not consume the advertised resources capability. ChatGPT ignores prompts: The server can still connect, but ChatGPT does not consume the advertised prompts capability. |
| Windsurf | Partial | Windsurf's documentation does not state support for OAuth sign-in. |
| Gemini CLI | Supported | Gemini CLI supports Streamable HTTP servers and OAuth sign-in. |
| MCP SDK | Supported | MCP SDK supports Streamable HTTP servers and OAuth sign-in. |
Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.
Latest validation evidence
- Validation status
- Online when last tested
- Validation checked at
- Nov 25, 2026 at 10:23 AM
- Validation detail
- Authentication challenge at https://api.pyai.com/mcp returned HTTP 401; endpoint was reachable but did not complete an MCP probe; authentication oauth
Tool inventory
What the catalog validator observed on at https://api.pyai.com/mcp without credentials. The live server may have changed since; connect in the Playground for the current list.
Tools provided by PyAI 59
calls_getNo outputSchemaRead the current state of an outbound call by returned ID. dispatch_unknown needs inspection, not another call. Recap and Omni recordings are separate resources.
Input
id: stringid: stringrequired
calls_listNo outputSchemaList outbound calls and normalized network outcomes before retrying a dispatch.
Input
cursor?: string, direction?: string, limit?: integer, status?: stringcursor?: stringoptionalLast call id from the previous page. Tenant and project scoped.
direction?: stringoptionallimit?: integeroptionalstatus?: stringoptional
configure_amdNo outputSchemaSet the PyAI AMD (answering-machine detection) operating point + webhook (POST /v1/amd/config). `aggressiveness` is one dial 0-1: near 0 is human-safe (never hang up on a person), near 1 fires 'machine' fast. The realtime detection itself is a Twilio Media Streams WebSocket (wss /v1/amd/stream), a one-line-TwiML drop-in, not an MCP tool.
Input
aggressiveness?: number, webhook_url?: stringaggressiveness?: numberoptionalOperating point 0-1 (default 0.25).
webhook_url?: stringoptionalhttps URL to POST amd.call.completed events to.
configure_traceNo outputSchemaConfigure Trace compliance monitoring for the selected workspace.
Input
body: objectbody: objectrequiredPer-agent Trace config (spec §5.1). May be wrapped as { agent_id, config } or sent raw.
create_agentNo outputSchemaCreate a reusable voice Agent profile: persona, greeting, voice, language, tools and knowledge. Does not place a call. Use saved tool IDs; configure connection settings privately in the PyAI console. Never supply credentials.
Input
body: objectbody: objectrequiredWritable agent fields. On update, present fields are set, `null` clears, absent fields are untouched.
create_dubNo outputSchemaFetch audio from the user-authorized HTTPS source URL and start a translation and dubbing job. Accesses an external source and consumes usage. Keep job_id and poll get_dub_job; do not submit again after a timeout.
Input
source_lang: string, source_url: string, target_lang: stringsource_lang: stringrequiredSource language from get_dub_capabilities.
source_url: stringrequiredtarget_lang: stringrequiredTarget language from get_dub_capabilities.
create_recapNo outputSchemaSubmit speaker-labelled utterances and get a recap.call (POST /v1/recap/calls/{call_id}). Requires recap:create and Recap enabled. To poll with get_recap, also request recap:lookup.
Input
call_direction?: string, call_id: string, customer_name?: string, pack_id?: string, utterances: arraycall_direction?: stringoptionalcall_id: stringrequiredStable id you will read back.
customer_name?: stringoptionalpack_id?: stringoptionalutterances: arrayrequired
create_trace_rule_packNo outputSchemaCreate a workspace Trace compliance rule pack. This creates persistent configuration.
Input
body: objectbody: objectrequiredAn authored rule pack in the Trace DSL (rule_pack_schema.json).
create_transcription_jobNo outputSchemaSubmit an async speech-to-text job for an audio URL (https). Returns a job_id; poll with get_transcription_job. Supports diarization.
Input
audio_url: string, call_direction?: string, call_id?: string, channel?: boolean, customer_name?: string, diarize?: boolean, model?: string, output_formats?: array, pack_id?: string, transcription_language?: stringaudio_url: stringrequiredhttps URL of the audio to transcribe.
call_direction?: stringoptionalcall_id?: stringoptionalStable id for the post-call Recap. Defaults to the job id.
channel?: booleanoptionalDual-channel (stereo) per-channel speakers.
customer_name?: stringoptionaldiarize?: booleanoptionalSingle-track speaker diarization.
model?: stringoptionaloutput_formats?: arrayoptionalDefaults to [json].
pack_id?: stringoptionalOptional Recap pack (default sales_outbound).
transcription_language?: stringoptionalSpoken-language hint applied to every channel, chunk and speech span. Omit for automatic detection. Independent of the Recap summary language.
direct_cast_scriptNo outputSchemaTurn a narration script into directed Cast lines before rendering. Consumes usage.
Input
body: objectbody: objectrequired
discover_toolsNo outputSchemaFind the right PyAI tools and a short recipe for speech, STT, LiveKit or Pipecat integration, voice agents, compliance, summaries, dubbing or narration. No credentials or usage.
Input
query?: string, task?: stringquery?: stringoptionalProduct, framework or task, e.g. “LiveKit”, “Pipecat integration”, “translate audio”, “voice agent”, “TTS”.
task?: stringoptionalAlias for query. If both are supplied, they must match after trimming.
draft_website_widgetNo outputSchemaSave an unpublished website voice widget for a saved agent in the connected project. Specify the exact HTTPS origin and both daily session limits. The hosted widget sends visitor microphone audio to PyAI. Its session quotas cannot enforce a hard total spending cap. To replace a draft, first preview it and pass its expected_revision. A published widget cannot be edited here.
Input
body: object, id: stringbody: objectrequiredid: stringrequiredSaved agent ID in the authenticated project.
enable_recapNo outputSchemaEnable Recap for the key's org (PUT /v1/recap/config). Sandbox keys already mint with Recap on; call this to set a webhook or pack, or to enable Recap on a signup/live key. Requires recap:configure.
Input
default_pack_id?: string, enabled?: boolean, webhook_url?: stringdefault_pack_id?: stringoptionalDefaults to sales_outbound.
enabled?: booleanoptionalDefaults to true.
webhook_url?: stringoptionalhttps URL for recap.complete events.
get_agentNo outputSchemaRead a saved voice Agent profile and its current configuration.
Input
id: stringid: stringrequiredAgent id, e.g. `agent_7f3a…`.
get_amd_callNo outputSchemaGet one PyAI AMD decision by call id (GET /v1/amd/calls/{id}): who/what answered, with the reason.
Input
call_id: stringcall_id: stringrequiredThe call id the decision was recorded under.
get_cast_audioNo outputSchemaRetrieve completed Cast narration as playable audio or a download.
Input
job_id: stringjob_id: stringrequiredThe ID returned by the original submission; do not invent one.
get_cast_capabilitiesNo outputSchemaDiscover Cast voices, emotions, formats and supported rendering capabilities.
Input No parameters
get_cast_renderNo outputSchemaCheck a durable Cast render job. Preserve the original job ID.
Input
job_id: stringjob_id: stringrequiredThe ID returned by the original submission; do not invent one.
get_dub_audioNo outputSchemaRetrieve completed dubbed audio as a playable result or download. Call only when get_dub_job reports done.
Input
job_id: stringjob_id: stringrequiredThe ID returned by the original submission; do not invent one.
get_dub_capabilitiesNo outputSchemaRead currently supported Dub input and output languages before submitting a translation.
Input No parameters
get_dub_jobNo outputSchemaRetrieve the status and available results of an existing dubbing job by job_id. This read does not start or repeat a job. Poll pending/processing states without resubmitting.
Input
job_id: stringjob_id: stringrequiredThe ID returned by the original submission; do not invent one.
get_recapNo outputSchemaRead one Recap by call id (GET /v1/recap/calls/{call_id}). When complete, `record` is recap.record.v1 (tldr, summary, action_items, disposition, next_steps, talk_ratio, signals, fields). Requires recap:lookup and Recap enabled.
Input
call_id: stringcall_id: stringrequiredThe call_id passed to create_recap or the Hear job.
get_recap_configNo outputSchemaRead Recap summarization configuration before changing it.
Input No parameters
get_startedNo outputSchemaReturn a concise, correct quickstart for building with PyAI (auth, SDK install, TTS/STT/realtime snippets, error handling). No key or network needed, read this before writing PyAI code so you use the right endpoints and the official SDK.
Input No parameters
get_trace_configNo outputSchemaInspect Trace call-compliance configuration.
Input
agent_id?: stringagent_id?: stringoptionalAgent to read config for; omit for the org default.
get_trace_exposureNo outputSchemaRead aggregate compliance exposure for the workspace.
Input
window_days?: integerwindow_days?: integeroptionalTrailing window in days.
get_trace_interactionNo outputSchemaRead one monitored interaction and its compliance evidence.
Input
id: stringid: stringrequiredThe call_id.
get_transcription_jobNo outputSchemaGet the status + result of a transcription job by id.
Input
job_id: stringjob_id: stringrequiredThe job_id from create_transcription_job.
list_agentsNo outputSchemaList saved voice Agent profiles before creating or changing one.
Input No parameters
list_amd_callsNo outputSchemaList recent PyAI AMD decisions (GET /v1/amd/calls). Each carries answered_by (human/voicemail/ivr/screening/sit_invalid/…), answered_by_twilio (Twilio's enum, for routing parity), confidence, decision_ms, and the word-level reason.
Input
limit?: number, session_label?: stringlimit?: numberoptionalMax results (1-100, default 20).
session_label?: stringoptionalFilter by the opaque connect-URL/TwiML tag.
list_modelsNo outputSchemaList the available PyAI models (catalog). No arguments.
Input No parameters
list_published_website_widgetsNo outputSchemaLook up published managed website voice widgets in the connected project without an agent ID. Read their public embed snippets, exact origins and effective daily session limits. Follow next_cursor while has_more before concluding no match. Ask which widget if multiple match. This read does not create a widget or start a session.
Input
cursor?: string, limit?: integercursor?: stringoptionalPass next_cursor from the previous page.
limit?: integeroptional
list_recap_callsNo outputSchemaList existing Recap records for the organization (GET /v1/recap/calls). Requires recap:lookup and Recap enabled.
Input
limit?: number, status?: stringlimit?: numberoptionalMax results (1-100, default 20).
status?: stringoptional
list_trace_findingsNo outputSchemaFind compliance findings with source evidence. Findings are signals for review, not legal conclusions.
Input
action?: string, check_id?: string, cursor?: string, interaction_id?: string, limit?: integer, severity?: stringaction?: stringoptionalcheck_id?: stringoptionalcursor?: stringoptionalinteraction_id?: stringoptionallimit?: integeroptionalseverity?: stringoptional
list_trace_interactionsNo outputSchemaFind monitored calls and interactions for compliance review.
Input
agent_id?: string, cursor?: string, limit?: integer, verdict?: stringagent_id?: stringoptionalcursor?: stringoptionallimit?: integeroptionalverdict?: stringoptional
list_trace_rule_packsNo outputSchemaDiscover available Trace compliance rule packs before enabling monitoring.
Input No parameters
list_trace_violationsNo outputSchemaList Trace rule violations for compliance review.
Input
cursor?: string, interaction_id?: string, limit?: integer, rule_id?: string, severity?: stringcursor?: stringoptionalinteraction_id?: stringoptionallimit?: integeroptionalrule_id?: stringoptionalseverity?: stringoptional
list_transcription_jobsNo outputSchemaFind existing audio processing and transcription jobs before submitting duplicates.
Input
cursor?: string, limit?: integercursor?: stringoptionalOpaque token from a previous page's `next_cursor`. Omit for the first page.
limit?: integeroptionalMax items to return (1-100).
list_voicesNo outputSchemaList PyAI stock + cloned voices. Optionally filter by gender or region. Use a returned voice id as the `voice` for synthesize_speech.
Input
gender?: string, region?: stringgender?: stringoptionalFilter by voice gender (e.g. female, male).
region?: stringoptionalFilter by accent/region (e.g. en_us, en_gb).
omni_get_callNo outputSchemaRead an Omni session's transcript, recording availability and summary. For outbound calls use artifacts.omni_call_id from calls_get.
Input
call_id: stringcall_id: stringrequiredStable opaque PyAI-owned call identifier. Use it unchanged across every Omni call sub-resource.
omni_get_recordingNo outputSchemaGet the canonical authenticated recording resource URL. Requires response=url. This URL is not public playable audio; recording must have been enabled.
Input
call_id: string, response: stringcall_id: stringrequiredStable opaque PyAI-owned call identifier. Use it unchanged across every Omni call sub-resource.
response: stringrequiredSet to `url` to return the canonical authenticated PyAI recording resource as JSON.
omni_get_summaryNo outputSchemaRead the structured summary for an Omni call when generated; a missing summary is not an empty result.
Input
call_id: stringcall_id: stringrequiredStable opaque PyAI-owned call identifier. Use it unchanged across every Omni call sub-resource.
omni_get_transcriptNo outputSchemaRead the complete Omni call transcript through the authenticated API.
Input
call_id: stringcall_id: stringrequiredStable opaque PyAI-owned call identifier. Use it unchanged across every Omni call sub-resource.
omni_list_callsNo outputSchemaList Omni sessions, including inbound calls. Filter by session_label and preserve each returned call_id.
Input
cursor?: string, limit?: integer, session_label?: stringcursor?: stringoptionalPass the previous page's `next_cursor`.
limit?: integeroptionalsession_label?: stringoptionalOnly calls connected with this opaque session tag.
openapi_getNo outputSchemaFetch live API operation discovery with a SHA-256 digest. Supply path and method for one operation and its referenced schemas, or include_document=true for the entire contract. Pin sha256 to detect contract drift. No API key required.
Input
include_document?: boolean, method?: string, path?: string, sha256?: stringinclude_document?: booleanoptionalmethod?: stringoptionalpath?: stringoptionalsha256?: stringoptional
preview_cast_lineNo outputSchemaGenerate one directed Cast line. Consumes usage. Check get_cast_capabilities for supported voice, emotion and intensity.
Input
emotion: string, intensity: any, text: string, voice: stringemotion: stringrequiredSupported emotion.
intensity: anyrequiredUse a tier from Cast capabilities: subtle, balanced or bold; or a number from 0 to 1. Legacy low/med/high aliases are normalized by MCP.
text: stringrequiredNarration text.
voice: stringrequiredA supported Cast voice.
preview_website_widgetNo outputSchemaRead the saved managed website voice widget for this agent. Show its project, exact origins, session limits, status, embed snippet, readiness and revision before asking to publish. Does not publish or start a session.
Input
id: stringid: stringrequiredSaved agent ID in the authenticated project.
publish_website_widgetNo outputSchemaPublish the managed website voice widget only after the user explicitly approves the displayed project, origins, limits and embed for that exact preview revision. Set body.approved=true and pass body.revision. Return the snippet verbatim. The hosted widget sends visitor microphone audio to PyAI. Sessions may consume project credit and session quotas cannot enforce a hard total spending cap. After an uncertain result, preview the widget before any further action.
Input
body: object, id: stringbody: objectrequiredid: stringrequiredSaved agent ID in the authenticated project.
render_castNo outputSchemaSubmit script text or directed lines using one top-level voice from get_cast_capabilities for the entire render. Per-line voices and a console project are not required or supported inputs. Returns a job; preserve its ID, poll get_cast_render and retrieve get_cast_audio when done. Consumes usage; do not resubmit on timeout.
Input
body: objectbody: objectrequired
set_agent_knowledgeNo outputSchemaReplace the knowledge bases bound to an Agent. Read its existing bindings first.
Input
body: array, id: stringbody: arrayrequiredid: stringrequired
set_agent_toolsNo outputSchemaReplace the tools bound to an Agent. Read the current Agent first; this replaces its bindings. Use saved tool IDs; configure connection settings privately in the PyAI console. Never supply credentials.
Input
body: array, id: stringbody: arrayrequiredReplace bindings using saved tool IDs. Existing settings are preserved for retained bindings. Credentials and connection settings are not accepted through MCP.
id: stringrequired
synthesize_speechoutputSchema declaredGenerate speech from input. Consumes usage in the connected project; live usage can be billed. Before generation, use whoami to verify project, environment, scopes, credit and limits. Returns inline MCP audio or an expiring resource_link, never a local file path. Host playback support varies. For integration code only, use get_started.
Input
input: string, model?: string, response_format?: string, voice?: stringinput: stringrequiredText to synthesize. Maximum 2000 characters; longer text answers `400 input_too_long` naming the limit and the length you sent. Split longer scripts into several requests.
model?: stringoptionalDefaults to pyai-speak.
response_format?: stringoptionalDefaults to mp3.
voice?: stringoptionalVoice id from list_voices. Omit for the account default.
telephony_bind_numberNo outputSchemaBind an owned number to an Agent using body.agent_id; null unassigns. Read existing bindings first. Changes inbound routing.
Input
body: object, id: stringbody: objectrequiredid: stringrequired
telephony_create_callNo outputSchemaPlace a real outbound call only to a user-authorized destination. Requires confirm=true and a stable idempotency_key. This is not a sandbox simulation. Preserve the returned ID; never redial after an uncertain timeout.
Input
body: object, confirm?: boolean, idempotency_key: stringbody: objectrequiredconfirm?: booleanoptionalSet true only after the user authorizes this exact purchase or destination.
idempotency_key: stringrequiredRequired safe-retry key. Identical retries return the original call; a different body returns 409.
telephony_list_numbersNo outputSchemaList owned numbers and current Agent bindings before changing inbound routing.
Input
include_released?: booleaninclude_released?: booleanoptional
telephony_search_numbersNo outputSchemaSearch available managed numbers and inspect provisioning requirements before purchase.
Input
area_code?: string, contains?: string, country?: string, limit?: integerarea_code?: stringoptional3-digit US or Canada area code (NPA).
contains?: stringoptionalDigit pattern the number should contain.
country?: stringoptionalISO-2 country to search in.
limit?: integeroptional
transcribe_audioNo outputSchemaTranscribe a small audio attachment supplied as base64 (up to 8 MiB decoded). Returns the synchronous transcript without diarization controls. For word timestamps and speaker labels, use create_transcription_job with diarize=true for mono or channel=true for stereo, then get_transcription_job. Consumes usage.
Input
audio_base64: string, filename: string, language?: stringaudio_base64: stringrequiredBase64-encoded audio bytes, without a data: prefix.
filename: stringrequiredlanguage?: stringoptional
update_agentNo outputSchemaUpdate a voice Agent profile. Read it first and change only user-requested fields. Use saved tool IDs; configure connection settings privately in the PyAI console. Never supply credentials.
Input
body: object, id: stringbody: objectrequiredWritable agent fields. On update, present fields are set, `null` clears, absent fields are untouched.
id: stringrequired
whoamiNo outputSchemaIntrospect the active key (GET /v1/me): org, environment (test/live), granted scopes, and rate-limit/credit posture. Organization and project names and IDs, billing guidance, and any managed payer/budget appear in text and structuredContent. Names are display labels; verify IDs and environment too. Use verbose=true for key identity details. Use it before usage and to diagnose a 401/403/402.
Input
verbose?: booleanverbose?: booleanoptionalInclude authorized identity details in text. Credentials are always omitted.
Resources 2
PyAI integration guidetext/markdownAuthentication, safe workflows, audio results and API conventions.
PyAI use-case recipesapplication/jsonSpeak, Hear, voice agents, Trace, Recap, dubbing and Cast workflows.
Prompts 18
agentsCreate an appointment-booking voice agent that greets callers and hands off when it cannot answer.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
agents_listList my voice agents.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
agents_webAdd an AI receptionist to my website.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
amdFind calls answered by voicemail, IVR or screening.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
callingSet up an inbound receptionist, or place an authorized test call and retrieve its summary.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
castTurn this script into an expressive, multi-line narration with pauses.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
dubDub this English recording into Hindi.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
hearTranscribe this interview and distinguish the speakers.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
hear_streamTranscribe microphone audio in real time.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
interpretTranslate a live telephone conversation between two people.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
livekitLiveKit integration with PyAI speech.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
pipecatPipecat integration with PyAI speech.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
recapSummarize this sales call, list objections, and extract next steps.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
speakSay “Your appointment is confirmed” in a warm English voice.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
speak_streamStream TTS into an existing phone application.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
traceFind calls with missing recording disclosures and show the supporting evidence.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
translate_textTranslate this call transcript into Spanish text.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.
voicesList available English voices without generating audio.
Arguments
task: anytask: anyrequiredThe user-authorized task, without credentials.