Tools
plungeai_build_workflow
Generate a new workflow from a goal, or refine an existing one (workflow_id + instruction), via the platform builder. Saves it so it appears everywhere (live sync).
Authorizations
Authorization: Bearer ozk_….X-API-Key: ozk_….Every request needs a key, tools/list included.
Arguments
Maximum string length: 4000
for a new workflow
Maximum string length: 65536
for a refine
Maximum string length: 256
for a refine
Maximum string length: 65536
Output
Markdown text.
Generate a new workflow from a goal, or refine an existing one (workflow_id + instruction), with the platform builder. The result is saved, so it appears everywhere (live sync).
Returns. New: Created workflow **<name>** (`<id>`). Synced to all apps. Run it with plungeai_execute_workflow. and the YAML. The name is the builder's own generated name, or the first 60 characters of the goal when the YAML has no plain name: line. Refine: Updated workflow **<name>** (`<id>`). Synced to all apps. and the YAML; the YAML is replaced in place, so save a version first if you may want to roll back. A generated workflow that fails CNL validation is not saved; the answer shows the errors and the YAML. Other errors (isError: true): Provide either `goal` (new) or `workflow_id` + `instruction` (refine)., Workflow not found: <id>, Workflow builder did not return a workflow section. It reports generating, validating and saving on the progress channel while it works (30–60 seconds).
Runs a model, costs credits and saves a workflow (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_build_workflow","arguments":{"user_request":"build me a workflow that scans a company for acquisition news and writes a briefing","goal":"Scan a company for acquisition news and write a one-page briefing with sources."}}}'One parameter recurs across the tools: user_request (on every tool: a string of up to 4,000 characters, optional; clients should always send it). It is described once in Recurring parameters on the MCP overview.