{"ok":true,"site":{"host":"greysonouyang.github.io","url":"https://greysonouyang.github.io/approvaldesk-webmcp/","type":"live","desc":"ApprovalDesk — WebMCP-native human approval workflows for consequential forms.","tools":[{"name":"list_forms","kind":"answer","impl":"imperative","description":"List workflows available to the agent with risk, effort, and field count.","title":"List approval workflows","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/approvaldesk-webmcp/"},{"name":"get_form_schema","kind":"answer","impl":"imperative","description":"Read the exact fields for one workflow before creating or editing a draft.","title":"Read workflow schema","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"formId":{"type":"string","description":"Workflow id returned by list_forms."}},"required":["formId"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/approvaldesk-webmcp/"},{"name":"list_pending_approvals","kind":"answer","impl":"imperative","description":"Read drafts currently waiting for a human decision, including risk and revision.","title":"List human approval queue","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/approvaldesk-webmcp/"},{"name":"create_draft","kind":"act","impl":"imperative","description":"Create a reversible draft for a workflow. This never approves or submits it.","title":"Create reversible draft","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{"formId":{"type":"string","description":"Workflow id returned by list_forms."}},"required":["formId"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/approvaldesk-webmcp/"},{"name":"set_draft_fields","kind":"act","impl":"imperative","description":"Update a known draft revision. Any edit invalidates an older approval decision.","title":"Update draft fields","annotations":{"readOnlyHint":false},"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/approvaldesk-webmcp/"},{"name":"get_draft","kind":"answer","impl":"imperative","description":"Read values, revision, approval provenance, and validation for a draft.","title":"Read draft state","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"draftId":{"type":"string","description":"Draft id."}},"required":["draftId"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/approvaldesk-webmcp/"},{"name":"validate_draft","kind":"act","impl":"imperative","description":"Check required fields and risk warnings before requesting human approval.","title":"Validate draft","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"draftId":{"type":"string","description":"Draft id."}},"required":["draftId"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/approvaldesk-webmcp/"},{"name":"request_approval","kind":"act","impl":"imperative","description":"Queue a complete exact revision for a human decision. The agent cannot approve it.","title":"Request human approval","annotations":{"readOnlyHint":false},"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/approvaldesk-webmcp/"},{"name":"submit_draft","kind":"transact","impl":"imperative","description":"Submit only the exact revision a human approved. Fails closed on stale or missing approval.","title":"Execute approved revision","annotations":{"readOnlyHint":false},"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/approvaldesk-webmcp/"},{"name":"get_audit_log","kind":"answer","impl":"imperative","description":"Read bounded human, agent, and system events, optionally scoped to one draft.","title":"Read audit trail","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/approvaldesk-webmcp/"}],"category":"Developer Tools","apiSurface":"spec","toolCount":10}}