Tools
plungeai_execute_agent
Execute a single PROMPT-DRIVEN agent (e.g.
Authorizations
Authorization: Bearer ozk_….X-API-Key: ozk_….Every request needs a key, tools/list included.
Arguments
Maximum string length: 4000
Maximum string length: 256
Maximum string length: 65536
Maximum string length: 256
Default: the agent's default
Maximum string length: 256
Default: the model's catalog provider
Maximum string length: 256
Required range: 1 <= x <= 64000
Required range: 1 <= x <= 64000
Required range: 0 <= x <= 2
Required range: 0 <= x <= 1
Available options: low, medium, high, xhigh
Maximum string length: 256
Default: true
Maximum string length: 256
text plus structuredContentAvailable options: markdown, json
Default: markdown
Output
Available options: ok, needs_input, needs_connection, needs_api_key, needs_approval, unavailable, error
Execute a single PROMPT-DRIVEN agent (e.g. "llm-agent", or "skill-agent" with a persona). Pass session_id to start/continue a conversational agent. Structured tool-agents (cards with a Parameters table, e.g. markitdown, weather-agent) take typed fields, not prose — use plungeai_get_tool_contract + plungeai_execute_tool for those. Always answers with a structured outcome (never a raw error) — follow the remediation instead of retrying the identical call.
Execute a single prompt-driven agent (for example llm-agent, or skill-agent with a persona). Pass session_id to start or continue a conversational agent. Structured tool-agents (cards with a Parameters table, such as markitdown or weather-agent) take typed fields, not prose: use plungeai_get_tool_contract and plungeai_execute_tool for those. Always answers with a structured outcome, never a raw error: follow the remediation instead of retrying the identical call.
Returns. ok with the agent's output and the execution-id footer. unavailable for an unknown or inactive agent, with live alternatives and no run created. needs_input for a model that is not in the catalog (Unknown model `<id>` … Nothing was executed.) with up to five near matches. needs_approval / needs_input when the agent pauses. Failures are classified into an outcome.
Runs a model and costs credits (not verified here):
curl -s https://mcp.plungeai.com/v1 \
-H "Authorization: Bearer $PLUNGE_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"plungeai_execute_agent","arguments":{"user_request":"ask llm-agent what a Durable Object is","agent":"llm-agent","prompt":"In one sentence: what is a Cloudflare Durable Object?","model":"claude-sonnet-4-5","max_tokens":80}}}'Two parameters recur across the tools: user_request (on every tool: a string of up to 4,000 characters, optional; clients should always send it) and format (markdown by default, or json). Both are described once in Recurring parameters on the MCP overview.