Confirm Task Action
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
agent_ready - Risk:
destructive - Catalog version:
manus-2026.07.12.2 - Descriptor hash:
a43d58204e9617ca79cca5e42470aebfab257ce1c1d98d065dba917f7f818106
Use this Manus destructive tool when you need to confirm a manus waiting action. use only after user approval. It contacts the configured Manus API v2 POST /v2/task.confirmAction endpoint and requires a request-scoped x-manus-api-key. Confirms waiting send/deploy/terminal/spend actions; confirm required. It is dry-run by default and requires confirm=true after approval before the provider write executes. The result is a compact, secret-redacted object and never includes the Portal grant or provider credential.
Request Body
{
"jsonrpc": "2.0",
"id": "manus-confirm-task-action-example",
"method": "tools/call",
"params": {
"name": "manus.confirm_task_action",
"arguments": {
"task_id": "task_id_123",
"event_id": "event_id_123",
"confirm": false,
"dry_run": false,
"confirmation_input": ""
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"task_id",
"event_id"
],
"properties": {
"confirm": {
"type": "boolean",
"default": false,
"description": "Set true only after reviewing the dry-run plan and obtaining required approval."
},
"dry_run": {
"type": "boolean",
"default": true,
"description": "Keep true to return a secret-safe execution preview without contacting the write endpoint."
},
"task_id": {
"type": "string",
"description": "Stable Manus task identifier returned by create_task or a task-list response."
},
"event_id": {
"type": "string",
"description": "Waiting-event identifier returned by check_task_progress for a task requiring approval."
},
"confirmation_input": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Provider-defined structured answer for the selected waiting action; never include unapproved credentials."
}
},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the local or provider operation completed successfully."
},
"data": {
"description": "Bounded provider or local result data."
},
"error": {
"description": "Secret-safe provider or validation error details."
},
"dry_run": {
"type": "boolean",
"description": "Whether the result is an execution preview rather than a provider mutation."
},
"message": {
"type": "string",
"description": "Human-readable status or recovery guidance."
},
"http_status": {
"type": "integer",
"description": "Manus provider HTTP status when an external endpoint was contacted."
},
"next_action": {
"type": "string",
"description": "Recommended next agent action when another step is useful."
},
"confirmation_required": {
"type": "boolean",
"description": "Whether approval is required before a write can execute."
}
},
"description": "Secret-safe Manus MCP operation result.",
"additionalProperties": true
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "manus-confirm-task-action-example",
"method": "tools/call",
"params": {
"name": "manus.confirm_task_action",
"arguments": {
"task_id": "task_id_123",
"event_id": "event_id_123",
"confirm": false,
"dry_run": false,
"confirmation_input": ""
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "manus-confirm-task-action-example",
"method": "tools/call",
"params": {
"name": "manus.confirm_task_action",
"arguments": {
"task_id": "task_id_123",
"event_id": "event_id_123",
"confirm": false,
"dry_run": false,
"confirmation_input": ""
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "manus-confirm-task-action-example",
"method": "tools/call",
"params": {
"name": "manus.confirm_task_action",
"arguments": {
"task_id": "task_id_123",
"event_id": "event_id_123",
"confirm": false,
"dry_run": false,
"confirmation_input": ""
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool manus.confirm_task_action executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}