trajectory_record
Records externally executed GUI actions with task/action IDs, before/after state, and timestamps for trajectory collection, without executing any device actions.
Instructions
Record one externally executed action; never performs device actions.
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": {
"task_id": "<task_id>",
"action_id": "<action_id>",
"action": "<action>",
"before": "<before>",
"after": "<after>",
"started_at": "<started_at>",
"finished_at": "<finished_at>"
},
"name": "trajectory_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | ||
| model | No | ||
| stage | No | ||
| action | Yes | ||
| before | Yes | ||
| status | No | ||
| subgoal | No | ||
| task_id | Yes | ||
| action_id | Yes | ||
| user_task | No | ||
| confidence | No | ||
| error_code | No | ||
| started_at | Yes | ||
| finished_at | Yes | ||
| tool_call_id | No | ||
| candidate_actions | No |