pi_execute
Launch a scoped coding task in a disposable git worktree or declared-file sandbox, then wait for and inspect the returned job result and verification output.
Instructions
Launch a scoped write task in a disposable git worktree or declared-file copy sandbox. Returns a job_id; wait for and inspect the result.
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": "<task>",
"files": "<files>",
"success_criteria": "<success_criteria>",
"verify_command": "<verify_command>"
},
"name": "pi_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| base | No | ||
| host | No | ||
| task | Yes | ||
| files | Yes | ||
| model | No | ||
| endpoint | No | ||
| thinking | No | ||
| allow_bash | No | ||
| allow_unscoped | No | ||
| verify_command | Yes | ||
| success_criteria | Yes |