Test a loaded prompt
run_loaded_promptFor coding agents working in a code repository, not for chat: Test a prompt from load_prompts, using its cases and checks and drafting any that are missing. Spends credit, never more than max_spend_usd by estimate. Each call starts a new paid run: to follow it, call get_test, not this again.
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": {
"prompt_id": "<prompt_id>"
},
"name": "run_loaded_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | From load_prompts or get_started. | |
| max_spend_usd | No | Limit for this test. Default 50, or 2 from a chat app, never above the credit left. |