Tool tree
A human-in-the-loop WebMCP demo for reviewing and filing documents.
Implementation
gradeNot graded
gradeNot graded
analyze_documentAction
Analyze the sample invoice currently loaded in Document Desk Agent. Updates the visible analysis and creates filename and filing-location proposals that still require human approval.
View tool JSON
{
"name": "analyze_document",
"kind": "act",
"impl": "imperative",
"description": "Analyze the sample invoice currently loaded in Document Desk Agent. Updates the visible analysis and creates filename and filing-location proposals that still require human approval.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/document-desk-agent/"
}propose_filenameAction
Propose a filename for the current document. The proposal is displayed as pending and is not applied until approve_actions is invoked or the user clicks Approve.
View tool JSON
{
"name": "propose_filename",
"kind": "act",
"impl": "imperative",
"description": "Propose a filename for the current document. The proposal is displayed as pending and is not applied until approve_actions is invoked or the user clicks Approve.",
"inputSchema": {
"type": "object",
"properties": {
"filename": {
"type": "string",
"minLength": 1,
"description": "Proposed filename including extension."
}
},
"required": [
"filename"
],
"additionalProperties": false
},
"page": "/document-desk-agent/"
}propose_filing_locationAction
Propose a filing location for the current document. The proposal remains pending until explicitly approved by a human.
View tool JSON
{
"name": "propose_filing_location",
"kind": "act",
"impl": "imperative",
"description": "Propose a filing location for the current document. The proposal remains pending until explicitly approved by a human.",
"inputSchema": {
"type": "object",
"properties": {
"location": {
"type": "string",
"minLength": 1,
"description": "Proposed folder or filing path."
}
},
"required": [
"location"
],
"additionalProperties": false
},
"page": "/document-desk-agent/"
}approve_actionsAction
Apply all currently pending filename and filing-location proposals after explicit human approval.
View tool JSON
{
"name": "approve_actions",
"kind": "act",
"impl": "imperative",
"description": "Apply all currently pending filename and filing-location proposals after explicit human approval.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/document-desk-agent/"
}reject_actionsAction
Discard all pending proposals without changing the current filename or filing location.
View tool JSON
{
"name": "reject_actions",
"kind": "act",
"impl": "imperative",
"description": "Discard all pending proposals without changing the current filename or filing location.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/document-desk-agent/"
}