Skip to content

workflow_reject

Managementcatalog

Reject Workflow Node

Not in the default tool list

This tool lives in the tool catalog. Discover it with scenario_tools_search (or enumerate everything with scenario_tools_list) and run it via scenario_tool_execute_write. To list every tool directly, connect with ?toolsets=full.

Reject a pending human-approval node in a running workflow. Args: - workflow_id: required - workflow_job_id: required — the workflow job awaiting approval - node_id: required — the gate node to reject - team_id, project_id: required for OAuth callers Rejecting cancels the whole run, even when the gate sits inside a ForEach loop. Confirm the run and cancellation with the user first. Returns: { job } — compact job row of the canceled run; it never carries awaiting_input or awaiting_input_hint, since a reject ends the run. Example: "Reject this workflow node" -> workflow_id="workflow_xxx", workflow_job_id="job_xxx", node_id="node_xxx" Don't use when: the paused step is a selection step (user-selection node) — reject it with workflow_select action="reject".
destructiveopen-world

Parameters

NameTypeRequiredDescription
workflow_idstring✓Workflow ID.
workflow_job_idstring✓Job ID.
node_idstring✓Node ID.
team_idstring—Team ID. Required with project_id for OAuth callers; an API key is scoped by the key.
project_idstring—Project ID. Required with team_id for OAuth callers; an API key is scoped by the key.
response_formatenum(json | markdown)jsonOutput format: 'json' for structured data, 'markdown' for human-readable text.