agents_prompt_history
List past versions of an agent's prompt_text. Every edit to the agent's prompt is snapshotted to an append-only table — use this tool to browse history, find a prior known-good version, and copy it into agents.prompt_restore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max versions to return (1-200, default 50) | |
| agent_id | Yes | ID of the agent | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| before_version | No | Cursor: return versions strictly below this version_number |