Skip to content

workflow_definition_validate

Validate a stored draft or an inline definition.

Tool

workflow_definition_validate

Validate a stored draft or an inline definition.

Validate a stored draft or an inline definition. Returns the documented issue codes; publish is refused while any issue has severity "error".

Behavior

HTTP
POST /workflow/definition/validate

Arguments

Name
Type
Required
Description
definition
object
—
A workflow definition: trigger, nodes, edges, grants, config_refs.
workflow_id
string
—
No description in the catalog.

Response

Field
Type
Always
Description
ok
boolean
•
True when no issue has severity "error"; publish needs this.
issues
array
•

Try it

Validate a stored draft or an inline definition.

When to use

Validate a stored draft or an inline definition. Returns the documented issue codes; publish is refused while any issue has severity "error".

Example

Ask your agent something like this:

Validate a stored draft or an inline definition.

The agent will invoke workflow_definition_validate with these arguments:

{}

Esc

Start typing to search the docs.

↑↓navigate↵select