devtune_run_agent
Trigger a metered manual managed-agent run through DevTune’s evidence- and credit-checked dispatch path. Refuses with agent_evidence_unavailable, before any credits are spent, when the project has nothing this agent can read, and with target_page_refused when targetPage names no page the agent can work on.
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": {
"agentKey": "<agentKey>",
"requestIdempotencyKey": "<requestIdempotencyKey>"
},
"name": "devtune_run_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelId | No | Optional available model-catalog identifier. | |
| agentKey | Yes | Roster or custom agent key to run. | |
| targetPage | No | Optional page the run works on, for agents that brief one page (citability-editor): an absolute URL, or a path such as /pricing on a tracked domain. The run briefs that page and no other. | |
| instructions | No | Optional focus for this run. | |
| requestIdempotencyKey | Yes | Required caller-generated UUID for idempotent retries. |