Skip to main content

Tasks Normalize Due Dates

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTghl.tasks_normalize_due_dates

Normalize task due times to a specific time of day in the location timezone.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-tasks-normalize-due-dates-example",
"method": "tools/call",
"params": {
"name": "ghl.tasks_normalize_due_dates",
"arguments": {
"locationId": "locationId_123",
"tenantId": "tenantId_123",
"strictTenant": false,
"confirmApply": "confirmApply_example",
"hour": 1,
"minute": 1,
"timeZone": "timeZone_example",
"onlyIncomplete": false,
"maxTasks": 1,
"limit": 1
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"strictTenant": {
"type": "boolean"
},
"confirmApply": {
"type": "string"
},
"locationId": {
"type": "string"
},
"hour": {
"type": "number"
},
"minute": {
"type": "number"
},
"timeZone": {
"type": "string"
},
"onlyIncomplete": {
"type": "boolean"
},
"maxTasks": {
"type": "number"
},
"limit": {
"type": "number"
},
"dryRun": {
"type": "boolean"
}
},
"required": [
"locationId"
],
"additionalProperties": false
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-tasks-normalize-due-dates-example",
"method": "tools/call",
"params": {
"name": "ghl.tasks_normalize_due_dates",
"arguments": {
"locationId": "locationId_123",
"tenantId": "tenantId_123",
"strictTenant": false,
"confirmApply": "confirmApply_example",
"hour": 1,
"minute": 1,
"timeZone": "timeZone_example",
"onlyIncomplete": false,
"maxTasks": 1,
"limit": 1
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.tasks_normalize_due_dates executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}