start_agent_session
Start or retry a project-scoped agent session and record its goal. Returns record.id to pass as sessionId on later calls; finish with finish_agent_session. Does not run an agent or change repository files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL. | |
| sessionId | No | Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL. | |
| requestText | Yes | ||
| idempotencyKey | Yes | Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action. | |
| expectedVersion | No | Current version of the target record from its latest read or mutation result. A stale value causes a version conflict; re-read before retrying. |