Dive

Plan edits

workbench__update_metadata

Updates the plan draft's top-level fields.

Fields

  • identifier, name, description, exemplars, input_schema, requires_servers.
  • finish sets the result: a solver, an output map, or neither for a silent plan.

Notes

  • Changing identifier makes it a new plan.
Available toEffect
Workbench agents onlyNot marked read-only

Input

What the plan does — shown in the catalog and used for routing.

exemplarsstring[]

Example requests the plan should handle; replaces the current list.

finishobject | string

Set the plan's finish: "silent", EITHER {output: {a map of key -> template string}} for a structured result, OR {solver: {queryToAnswer: string, systemPrompt?: string}} for LLM synthesis.

Map of output key to template string, e.g. {"summary": "{{E3.text}}"}.

Tool-name-safe identifier (letters, digits, _, -). Changing it detaches the draft from its loaded file.

Replace the plan's input schema (a JSON Schema object describing the plan's inputs, e.g. {"type":"object","required":["pr"],"properties":{"pr":{"type":"integer"}}}). Pass null to clear it.

namestring

Human-readable display name.

Replace the JSON Schema of an output plan's result; its properties are the finish.output keys. Pass null to clear it.

Replace the list of MCP server names the plan requires to be configured (gates catalog visibility). Empty array clears it.

Output

namestring
okboolean
{
  "identifier": "sprint_report",
  "name": "Sprint report",
  "ok": true
}