| Scope | Access | Description |
|---|---|---|
workflows:read | Read-only | Read a workflow by workflow_key or definition_id. |
Parameters
| Name | Required | Description |
|---|---|---|
| definition_id | No | Definition Id |
| workflow_key | No | Workflow Key |
Input schema
{
"additionalProperties": false,
"properties": {
"definition_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Definition Id"
},
"workflow_key": {
"anyOf": [
{
"maxLength": 120,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Workflow Key"
}
},
"title": "GetWorkflowIn",
"type": "object"
}
Example request
Replace the example identifier with one you can read.{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workflow_key": "example_workflow"
},
"name": "get_workflow"
}
}

