launch_agent_task
Starts an autonomous coding agent on a GitHub repository, runs a required verification command, and returns a job ID for polling results and costs.
Instructions
Launch an autonomous coding agent on a GitHub repository. The job is verified by running check. max_cost is REQUIRED (hard limit $5); max_runtime_minutes is REQUIRED (limit 60). Returns a job_id: poll with check_launch_task, and read the receipt when it finishes. Always confirm with the user before launching.
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": {
"repository": "<repository>",
"instruction": "<instruction>",
"check": "<check>",
"max_cost": "<max_cost>",
"max_runtime_minutes": "<max_runtime_minutes>"
},
"name": "launch_agent_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | claude | |
| check | Yes | Shell command that must succeed for the task to count as done | |
| max_cost | Yes | Hard cost cap in USD (max 5) | |
| repository | Yes | GitHub repository URL (https://github.com/owner/repo) | |
| instruction | Yes | What the agent should do | |
| max_runtime_minutes | Yes |