agent_plans

Steer agent plan

Have the agent rewrite a live plan on one line of guidance: a strategize turn changes what the guidance names, keeps every other step as written and commits a fresh plan over it. Asynchronous: item is the old plan, result.run the armed run. While it is written agent_work reads rewriting_plan and update_agent_plan is 409 plan_rewrite_in_flight. One step precisely: update_agent_plan. The agent's token is 403 (human_verb_only); 409 plan_not_editable once completed, superseded or canceled.

Contract:

  • MCP tool steer_agent_plan, registry package mcp.unibox/agent_plans, mount unibox.agent.
  • Operation action, response envelope action.
  • Flags: none.
post/api/agent-plans/{sid}/steer

Request

  • Base URL
    https://beta.getsales.io/unibox/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Path parameters

sidstring required

The live plan to rewrite (proposed or active: an approved plan is rewritten too, and its own steps wait while the rewrite is written).

Request body

guidancestring required

What should change, in one line, the way you would tell a colleague (no booking link yet, answer the question and ask about their carriers). Max 1000 chars. The agent changes what this names and keeps every other step as it stands.

step_idinteger nullable

The one message the guidance is about: the id of an unrun send_message step of this plan. The agent rewrites that message (and its intent) and keeps every other step, a counting wait included. 422 not_a_message_step otherwise. Omit = the whole plan.

Response

action success envelope.

successtrue required
operation'action' required
actionstring required

kebab-case verb; matches the route segment.

Changes

No recorded changes to this operation across all 1 revision of this API.