For AI agents: a documentation index is available at https://docs.plungeai.com/llms.txt. Append .md to any page URL, or send Accept: text/markdown, to get markdown. Setup instructions for agents are at https://docs.plungeai.com/agents.md. Execution planes take an ozk_ key; the models plane takes an sk-ocean- key.

Documentation Index: fetch the complete documentation index at /llms.txt. Use this file to discover all available pages before exploring further.

Two execution styles, chosen by the agent's card:

  • Prompt-driven agents (a prose brief does the work — research, writing, LLM tasks) → plungeai_execute_agent.
  • Structured tool-agents (cards with a Parameters table — posting, document conversion, weather, payments) take typed fields, not prose → plungeai_get_tool_contract then plungeai_execute_tool (see plungeai-tools-connectors).

When unsure, fetch the card (plungeai_list_agents {agent_id}, see plungeai-discovery) — a Parameters table means structured.


plungeai_execute_agent

Purpose: run a single PROMPT-DRIVEN agent once. Pre-built agent cards (capability packs rather than deployed services) are lowered automatically to a harness run — same call shape either way. Always sync (no mode param).

Parameters

ParamTypeNotes
agentstring, requiredAgent id from a live plungeai_list_agents search.
promptstring ≤65536, requiredThe brief.
personastringPersona id to inject.
modelstringModel override — must exist in the platform model catalog (see failure below). Omit to use the agent's default.
providerstringProvider id override (anthropic, openai, gemini, …) — pairs with a pinned model.
maxTokensint 1–64000Output cap.
max_tokensint 1–64000Same as maxTokens — the One API / snake_case spelling.
temperaturenumber 0–2Sampling temperature.
top_pnumber 0–1Nucleus sampling.
reasoning_effortlow | medium | high | xhighReasoning budget on models that expose one.
thinking_levelstringProvider thinking-level id (Gemini-style), forwarded to the task as-is.
streamingbooleanDefault on — the engine streams the run internally so the answer lands the moment the model finishes; false switches that off. No token stream reaches an MCP client either way (results are one envelope).
session_idstringStart/continue a conversational agent session — reuse the same id across turns.
formatmarkdown | jsonResponse serialization; default markdown.

Example

{"user_request": "summarize this week's AI safety news",
 "agent": "llm-agent",
 "prompt": "Summarize the most important AI safety developments this week, with sources."}

Returns: an outcome envelope. ok → the agent's final markdown + execution-id footer. A conversational agent that stops mid-dialog returns needs_approval / needs_input with a ⏸ block → relay and use plungeai_continue.

Failures & fixes

  • Unknown agent id → unavailable: "No such agent ... ids cannot be guessed"
    • live alternatives. Re-discover; never retry the same id.
  • Inactive agent id → unavailable: "not status:active". Pick an alternative from the remediation or a fresh search.
  • Unknown model → needs_input BEFORE anything runs, with near-match catalog models. Omit model or pick a suggested catalog id. (The preflight exists because a bogus model would otherwise time out minutes later with no cause.)
  • Structured tool-agent called with prose → may run its default operation or reject inputs; switch to the contract + plungeai_execute_tool.

plungeai_get_result

Purpose: retrieve the output of one of the caller's executions by execution id — the id from any run's footer, from plungeai_executions, or from plungeai_schedule {action: "runs"}. Read-only, ownership-checked.

Parameters

ParamTypeNotes
execution_idstringPreferred id param (matches run_mission/get_workflow_status/continue output).
workflow_idstringBack-compat alias for execution_id. Engine ids (exec-..., hyphen) also resolve.
task_idstringRead one step's output instead of the final result. Step ids come from the result's own "Steps in this run" index.
formatmarkdown | jsonResponse serialization; default markdown.

Exactly one of execution_id/workflow_id is required (enforced at call time, not by the schema — both stay optional in the advertised tool signature).

Example

{"user_request": "show me the full result of that run",
 "execution_id": "d3adb33f-...."}

Returns (full result): an identity header (workflow name — the question — timestamp — execution id), the final output verbatim, then as applicable: a Steps in this run index (multi-task runs persist only the final task's output; every other step is readable via task_id), the full Conversation thread (all follow-up turns, Studio-parity), and a ⏸ continuation block if the run is paused. Show it to the user whole.

Failures & fixes

  • "No result found for <id>, or it is not one of your executions." → wrong or foreign id; take the id from the run's own footer or plungeai_executions {action: "list"}.
  • "still running. Poll plungeai_get_workflow_status, then retry." → do that; don't hammer get_result.
  • "This run failed: <reason>" → surface the reason; fix per its content (often a needs_* classification on the original call).
  • "completed, but its stored result is no longer retrievable (expired from SharedMemory)" → step outputs and old results expire; only the final result blob is durable. Re-run if the user needs it again.
  • Scheduler run ids (exec_..., underscore) never resolve here → use plungeai_schedule {action: "runs"} and take its Execution ID column (see plungeai-scheduling).

Putting it together — the canonical single-agent run

1. plungeai_list_agents {search: "summarize a pdf"}           → llm-agent (or a domain agent)
2. plungeai_execute_agent {agent: "llm-agent",
     prompt: "Summarize the attached brief in three bullets."} → ok, final markdown + execution id
3. plungeai_get_result {execution_id: "<id>"}                  → re-fetch the same output later, or a step's output by task_id

For long-running prompt-driven work, wrap it in a one-task workflow via plungeai_execute_workflow {mode: "async"} (plungeai-workflows) — a bare plungeai_execute_agent call has no async mode.

Planned: TI-33

Search is not available yet. Until it ships, use the page index or browse the sidebar.

Planned: TI-34

The docs assistant is not available yet. You can hand these docs to your own assistant instead.