Get Workflow
get_workflowRetrieve the active workflow for a DocType to view its approval steps and states.
Instructions
Get the active workflow for a DocType
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"doctype": "<doctype>"
},
"name": "get_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doctype | Yes | DocType to get workflow for |