Record agent execution activity
record_agent_execution_activityAttach a timestamped activity to an execution, including its category, affected projects and bounded change metadata.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"executionId": "<executionId>",
"activityId": "<activityId>",
"occurredAt": "<occurredAt>",
"projectIds": "<projectIds>",
"category": "<category>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "record_agent_execution_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | Kind of activity being recorded for this execution. | |
| activityId | Yes | Identifier for the activity within the recorded execution. | |
| occurredAt | Yes | Timestamp of the execution event being recorded. | |
| projectIds | Yes | Owned projects associated with this execution event. | |
| executionId | Yes | Execution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID. | |
| changeMetadata | No | Bounded metadata describing the activity and its effect. | |
| 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. |