Tool tree
gradeNot graded
list_formsAnswer
List workflows available to the agent with risk, effort, and field count.
View tool JSON
{
"name": "list_forms",
"kind": "answer",
"impl": "imperative",
"description": "List workflows available to the agent with risk, effort, and field count.",
"inputSchema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"page": "/approvaldesk-webmcp/"
}get_form_schemaAnswer
Read the exact fields for one workflow before creating or editing a draft.
View tool JSON
{
"name": "get_form_schema",
"kind": "answer",
"impl": "imperative",
"description": "Read the exact fields for one workflow before creating or editing a draft.",
"inputSchema": {
"type": "object",
"properties": {
"formId": {
"type": "string",
"description": "Workflow id returned by list_forms."
}
},
"required": [
"formId"
],
"additionalProperties": false
},
"page": "/approvaldesk-webmcp/"
}list_pending_approvalsAnswer
Read drafts currently waiting for a human decision, including risk and revision.
View tool JSON
{
"name": "list_pending_approvals",
"kind": "answer",
"impl": "imperative",
"description": "Read drafts currently waiting for a human decision, including risk and revision.",
"inputSchema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"page": "/approvaldesk-webmcp/"
}create_draftAction
Create a reversible draft for a workflow. This never approves or submits it.
View tool JSON
{
"name": "create_draft",
"kind": "act",
"impl": "imperative",
"description": "Create a reversible draft for a workflow. This never approves or submits it.",
"inputSchema": {
"type": "object",
"properties": {
"formId": {
"type": "string",
"description": "Workflow id returned by list_forms."
}
},
"required": [
"formId"
],
"additionalProperties": false
},
"page": "/approvaldesk-webmcp/"
}set_draft_fieldsAction
Update a known draft revision. Any edit invalidates an older approval decision.
View tool JSON
{
"name": "set_draft_fields",
"kind": "act",
"impl": "imperative",
"description": "Update a known draft revision. Any edit invalidates an older approval decision.",
"inputSchema": {
"type": "object",
"properties": {
"draftId": {
"type": "string",
"description": "Draft id."
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"description": "Revision returned by get_draft."
},
"values": {
"type": "object",
"description": "Field/value map matching the workflow schema.",
"additionalProperties": {
"type": [
"string",
"number"
]
}
}
},
"required": [
"draftId",
"expectedRevision",
"values"
],
"additionalProperties": false
},
"page": "/approvaldesk-webmcp/"
}get_draftAnswer
Read values, revision, approval provenance, and validation for a draft.
View tool JSON
{
"name": "get_draft",
"kind": "answer",
"impl": "imperative",
"description": "Read values, revision, approval provenance, and validation for a draft.",
"inputSchema": {
"type": "object",
"properties": {
"draftId": {
"type": "string",
"description": "Draft id."
}
},
"required": [
"draftId"
],
"additionalProperties": false
},
"page": "/approvaldesk-webmcp/"
}validate_draftAction
Check required fields and risk warnings before requesting human approval.
View tool JSON
{
"name": "validate_draft",
"kind": "act",
"impl": "imperative",
"description": "Check required fields and risk warnings before requesting human approval.",
"inputSchema": {
"type": "object",
"properties": {
"draftId": {
"type": "string",
"description": "Draft id."
}
},
"required": [
"draftId"
],
"additionalProperties": false
},
"page": "/approvaldesk-webmcp/"
}request_approvalAction
Queue a complete exact revision for a human decision. The agent cannot approve it.
View tool JSON
{
"name": "request_approval",
"kind": "act",
"impl": "imperative",
"description": "Queue a complete exact revision for a human decision. The agent cannot approve it.",
"inputSchema": {
"type": "object",
"properties": {
"draftId": {
"type": "string",
"description": "Draft id."
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"description": "Exact revision to place in the human queue."
}
},
"required": [
"draftId",
"expectedRevision"
],
"additionalProperties": false
},
"page": "/approvaldesk-webmcp/"
}submit_draftSensitive Action
Submit only the exact revision a human approved. Fails closed on stale or missing approval.
View tool JSON
{
"name": "submit_draft",
"kind": "transact",
"impl": "imperative",
"description": "Submit only the exact revision a human approved. Fails closed on stale or missing approval.",
"inputSchema": {
"type": "object",
"properties": {
"draftId": {
"type": "string",
"description": "Draft id."
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"description": "Exact approved revision returned by get_draft."
}
},
"required": [
"draftId",
"expectedRevision"
],
"additionalProperties": false
},
"page": "/approvaldesk-webmcp/"
}get_audit_logAnswer
Read bounded human, agent, and system events, optionally scoped to one draft.
View tool JSON
{
"name": "get_audit_log",
"kind": "answer",
"impl": "imperative",
"description": "Read bounded human, agent, and system events, optionally scoped to one draft.",
"inputSchema": {
"type": "object",
"properties": {
"draftId": {
"type": "string",
"description": "Optional draft id."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"description": "Maximum events; defaults to 12."
}
},
"required": [],
"additionalProperties": false
},
"page": "/approvaldesk-webmcp/"
}