Agent tools deprecation
Migrate from legacy prompt.tools to the new prompt.tool_ids field.
Migrate from legacy prompt.tools to the new prompt.tool_ids field.
body.conversation_config.agent.prompt.tools is deprecated.body.conversation_config.agent.prompt.tool_ids to list the IDs of the client or server tools your agent should use.prompt.built_in_tools is introduced for system tools (e.g., end_call, language_detection). These tools are referenced by name, not by ID.July 14, 2025 - Last day for full backwards compatibility. You can continue using
prompt.tools until this date.
July 15, 2025 - GET endpoints will stop returning the tools field. Only prompt.tool_ids
will be included in responses.
July 23, 2025 - Legacy prompt.tools field will be permanently removed. All requests
containing this field will be rejected.
Decoupling tools from agents brings several advantages:
Good news — we’ve already migrated your data! Every tool that previously lived in prompt.tools
now exists as a standalone record, and its ID is present in the agent’s prompt.tool_ids array.
No scripts required.
We have automatically migrated all existing data:
prompt.tools array now exists as a standalone record.prompt.tool_ids array already references those new tool records.No one-off scripts are required — your agents continue to work unchanged.
All tool management lives under a dedicated endpoint:
Use it to:
Anything that once sat in the old tools array now belongs here.
System tools are not supported in prompt.tool_ids. Instead, specify them in the new
prompt.built_in_tools field.
If you are still using the legacy field, follow the steps below.
A request must include either prompt.tool_ids or the legacy prompt.tools array —
never both. Sending both fields results in an error.
No. Until July 23, the API will silently migrate any prompt.tools array you send. However,
starting July 15, GET and PATCH responses will no longer include full tool objects. After July
23, any POST/PATCH requests containing prompt.tools will be rejected.
No. A request must use either prompt.tool_ids or prompt.tools — never both.
List your tools via GET /v1/convai/tools or inspect the response when you create one.