update_agent_prompt
Update an AI agent's system prompt by providing the new full text. Optionally change the first message. For versioned agents, saves as a draft until published.
Instructions
Update an agent's system prompt / instructions. Pass the full new prompt text. Only works for single_prompt agents. Optionally update the first message too. For versioned agents, changes are saved as a draft — use publish_draft to make them live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent ID to update | |
| prompt | Yes | The new system prompt for the agent | |
| first_message | No | Update the first message the agent says when a call starts (max 500 chars) |