Skip to main content

Tasks Reassign By Keyword

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.tasks_reassign_by_keyword
  • Contract tier: legacy
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: eed88003996baa21c437fd2f9e42a71e950c33882f416991b7f6fa086dbc7dc0

Reassign tasks matching a keyword or query. GHL category: Automation. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-tasks-reassign-by-keyword-example",
"method": "tools/call",
"params": {
"name": "ghl.tasks_reassign_by_keyword",
"arguments": {
"query": "query_example",
"limit": 1,
"dryRun": false,
"maxTasks": 1,
"tenantId": "tenantId_123",
"assignedTo": "assignedTo_example",
"locationId": "locationId_123",
"strictTenant": false,
"assignedToName": "assignedToName_example",
"onlyIncomplete": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "number",
"default": 100,
"description": "Page size for task search (max 100)."
},
"query": {
"type": "string",
"description": "Keyword or query string to match."
},
"dryRun": {
"type": "boolean",
"default": false,
"description": "Preview changes without writing."
},
"maxTasks": {
"type": "number",
"default": 200,
"description": "Maximum tasks to update."
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"assignedTo": {
"type": "string",
"description": "User ID to assign tasks to."
},
"locationId": {
"type": "string",
"description": "Optional. Defaults to the authenticated runtime location; if supplied, it must match that location."
},
"strictTenant": {
"type": "boolean",
"default": true,
"description": "Require tenantId to match locationId routing (default: true)."
},
"assignedToName": {
"type": "string",
"description": "Name/handle to resolve from the team directory."
},
"onlyIncomplete": {
"type": "boolean",
"default": true,
"description": "Only update incomplete tasks."
},
"assignedToDiscordId": {
"type": "string",
"description": "Discord ID mapped to a GHL user."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the GHL MCP operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Tool-specific GHL or local navigation result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe execution, routing, and timing metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe error details when ok is false; credential values are never returned."
}
},
"description": "Normalized GHL MCP response envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-tasks-reassign-by-keyword-example",
"method": "tools/call",
"params": {
"name": "ghl.tasks_reassign_by_keyword",
"arguments": {
"query": "query_example",
"limit": 1,
"dryRun": false,
"maxTasks": 1,
"tenantId": "tenantId_123",
"assignedTo": "assignedTo_example",
"locationId": "locationId_123",
"strictTenant": false,
"assignedToName": "assignedToName_example",
"onlyIncomplete": false
}
}
}'

Example Responses

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