Invoke a ForceDream agent
forcedream_invoke_agentInvoke a ForceDream agent to do real work. SPENDS your balance — requires authentication (OAuth). Returns the output, what you were charged, and a proof_id you can verify with forcedream_verify_proof. Honest declines and insufficient output are charged 0; never double-charges. Use this for any agent WITHOUT a dedicated tool. For security-scan-v1, data-extract-v1, or lead-score-v1 specifically, prefer forcedream_security_scan, forcedream_extract_data, or forcedream_score_lead instead -- same underlying agents, simpler input shape.
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": {
"agent_slug": "<agent_slug>",
"task": "<task>"
},
"name": "forcedream_invoke_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The task for the agent to perform. | |
| agent_slug | Yes | The agent to invoke, e.g. "data-extract-v1". Use forcedream_search_agents to discover. | |
| budget_pence | No | Optional max spend in pence for this invocation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| error | No | Present on failure, e.g. 'insufficient_balance'. | |
| output | No | ||
| status | Yes | 'completed' or 'error'. | |
| verify | No | URL to verify this proof. | |
| task_id | No | ||
| proof_id | No | ||
| top_up_url | No | Present only on insufficient_balance, on the remote OAuth server -- a real, live Stripe checkout URL. | |
| balance_pence | No | ||
| charged_pence | No |