API & DEVELOPERS

MCP reference · v1

create_task

Save a task in an assigned portal. This records requested work; it does not execute actions in external systems.

Changes saved state

Company permissions

Required scopes: orchesphere.read, orchesphere.jobs. Current identity, company and service/portal rights are checked for every call. Scopes do not create access.

Portal admin/operator. Explicit assigneeEmail additionally requires the designated access administrator and an eligible active portal member. Saves requested work; no external execution. Equivalent REST operation.

Input schema

FieldTypeRequiredDescription / bounds
workspaceIdstringYesAn assigned company workspace ID.
portalIdstringYes—
titlestringYesmaxLength: 240
descriptionstringNomaxLength: 6000
assigneeEmailstringNomaxLength: 254
Complete MCP input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "An assigned company workspace ID."
    },
    "portalId": {
      "type": "string"
    },
    "title": {
      "type": "string",
      "maxLength": 240
    },
    "description": {
      "type": "string",
      "maxLength": 6000
    },
    "assigneeEmail": {
      "type": "string",
      "maxLength": 254
    }
  },
  "required": [
    "workspaceId",
    "portalId",
    "title"
  ],
  "additionalProperties": false
}

Tool call

json
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "create_task",
    "arguments": {
      "workspaceId": "11111111-1111-4111-8111-111111111111",
      "portalId": "22222222-2222-4222-8222-222222222222",
      "title": "Review the connection evidence"
    }
  }
}

POST to https://orchesphere.ai/mcp with a Bearer token approved for the MCP resource. Initialize the connection first. Examples use fictional identifiers.

Response handling

A successful tool result includes text content and structuredContent. Inspect isError before treating a tool result as successful. Authentication and scope failures may use HTTP 401/403 with WWW-Authenticate. This tool does not publish a separate MCP output schema; use its returned structure rather than assuming a provider business-record response.

All MCP tools · Errors and retry guidance