log_step
Record an agent action for the active task, including source/target repo, path, and line ranges to track code reuse.
Instructions
Record one agent action for the active task. For code reuse, include the source repo/path/line range and target path/line range so the Reuse flow can show exactly what moved where.
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": "<action>",
"detail": "<detail>"
},
"name": "log_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Source path inside repo | |
| action | Yes | Short action label, e.g. reuse_module, adapt_ui, skip_no_match | |
| detail | Yes | What was taken/adapted and how it helps the task | |
| task_id | Yes | ||
| target_path | No | Destination path in the active project | |
| repo_full_name | No | ||
| source_end_line | No | ||
| target_end_line | No | ||
| source_start_line | No | ||
| target_start_line | No |