projects_validate_flow_json
Validate an unsaved flow_json object containing nodes and edges without saving it.
Effect: This call reads data and does not run or change a project.
Inputs
flow_json
object
Required
Object containing nodes and edges arrays. Use actual node schemas and references.
severity_filter
all or errors_only
Optional
Default all; use errors_only to omit warnings.
cursor
string
Optional
Opaque pagination.next_cursor from the preceding page. Omit for the first page; preserve the resource and filters.
page_size
integer
Optional
Results per page. Default 50; maximum 200. Minimum 1.
Example
These are MCP tool arguments, not an HTTP request body. Replace bracketed IDs with values returned from your account.
An empty graph is a valid validation request, but is not a usable workflow. This shows how to submit a graph for findings; replace both arrays with the graph you intend to validate.
{
"flow_json": {
"nodes": [],
"edges": []
}
}Result
Abbreviated result example; unshown fields are omitted for clarity.
Behavior
Validation findings describe problems in the supplied graph. After saving, use projects_validate to also check organization-specific connections.
Troubleshooting
If access is denied, confirm the active organization with whoami and check access to the selected resource. Use returned IDs rather than names. For an invalid argument, follow the returned next_action and correct the request.
Related resources
Was this helpful?

