# MCP tool reference

1 callable tools.

Use tools/call at https://mcp.schedulerzero.com/mcp with the exact tool name and arguments below. The /tools/ paths in this view are documentation identifiers, not HTTP endpoints. Request execution is disabled for this reference.

Inputs are shown for personal API keys (bound) and for OAuth/delegated agents. Output schemas describe MCP structuredContent: native objects pass through; arrays, scalars and null use a data wrapper. Text content retains the native JSON result.

[Connect a client](/mcp/connect) · [Authentication and authorization](/authentication) · [Generated auth guide](/auth.md) · [Download tool catalog](/mcp-catalog.json) · [Agent documentation](/llms.txt)

## select_workspace

Persist or resolve the caller's selected workspace (a navigation preference, not a grant).

Use to activate, restore, or resolve the workspace a member is working in.

Selection never grants membership; it only persists the caller's own preference.

Scopes: workspace:read

Risk: write; confirmation: none; idempotency: supported.

### Input schema (personal API key)

```json
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "activate"
              ]
            }
          ]
        },
        "workspaceId": {
          "type": "string",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        }
      },
      "required": [
        "action",
        "workspaceId"
      ],
      "patternProperties": {
        "^(?!(?:action|workspaceId)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "action",
          "workspaceId"
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "ensure"
              ]
            }
          ]
        }
      },
      "required": [
        "action"
      ],
      "patternProperties": {
        "^(?!(?:action)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "action"
            ]
          }
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "restore"
              ]
            }
          ]
        },
        "expectedCurrentWorkspaceId": {
          "type": "string",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "previousWorkspaceId": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "action",
        "expectedCurrentWorkspaceId",
        "previousWorkspaceId"
      ],
      "patternProperties": {
        "^(?!(?:action|expectedCurrentWorkspaceId|previousWorkspaceId)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "action",
          "expectedCurrentWorkspaceId",
          "previousWorkspaceId"
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "resolveLegacyRoute"
              ]
            }
          ]
        },
        "path": {
          "$ref": "#/$defs/NonEmptyString"
        }
      },
      "required": [
        "action",
        "path"
      ],
      "patternProperties": {
        "^(?!(?:action|path)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "action",
          "path"
        ]
      }
    }
  ],
  "$defs": {
    "NonEmptyString": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096
    },
    "SelectWorkspaceInput": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "action": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "activate"
                  ]
                }
              ]
            },
            "workspaceId": {
              "type": "string",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
              "format": "uuid"
            }
          },
          "required": [
            "action",
            "workspaceId"
          ],
          "patternProperties": {
            "^(?!(?:action|workspaceId)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "type": "string",
            "enum": [
              "action",
              "workspaceId"
            ]
          }
        },
        {
          "type": "object",
          "properties": {
            "action": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "ensure"
                  ]
                }
              ]
            }
          },
          "required": [
            "action"
          ],
          "patternProperties": {
            "^(?!(?:action)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "action"
                ]
              }
            ]
          }
        },
        {
          "type": "object",
          "properties": {
            "action": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "restore"
                  ]
                }
              ]
            },
            "expectedCurrentWorkspaceId": {
              "type": "string",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
              "format": "uuid"
            },
            "previousWorkspaceId": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "action",
            "expectedCurrentWorkspaceId",
            "previousWorkspaceId"
          ],
          "patternProperties": {
            "^(?!(?:action|expectedCurrentWorkspaceId|previousWorkspaceId)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "type": "string",
            "enum": [
              "action",
              "expectedCurrentWorkspaceId",
              "previousWorkspaceId"
            ]
          }
        },
        {
          "type": "object",
          "properties": {
            "action": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "resolveLegacyRoute"
                  ]
                }
              ]
            },
            "path": {
              "$ref": "#/$defs/NonEmptyString"
            }
          },
          "required": [
            "action",
            "path"
          ],
          "patternProperties": {
            "^(?!(?:action|path)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "type": "string",
            "enum": [
              "action",
              "path"
            ]
          }
        }
      ]
    }
  }
}
```

### Input schema (OAuth / delegated agent)

```json
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "activate"
              ]
            }
          ]
        },
        "workspaceId": {
          "type": "string",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        }
      },
      "required": [
        "action",
        "workspaceId"
      ],
      "patternProperties": {
        "^(?!(?:action|workspaceId)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "action",
          "workspaceId"
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "ensure"
              ]
            }
          ]
        }
      },
      "required": [
        "action"
      ],
      "patternProperties": {
        "^(?!(?:action)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "anyOf": [
          {
            "type": "string",
            "enum": [
              "action"
            ]
          }
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "restore"
              ]
            }
          ]
        },
        "expectedCurrentWorkspaceId": {
          "type": "string",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "previousWorkspaceId": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "action",
        "expectedCurrentWorkspaceId",
        "previousWorkspaceId"
      ],
      "patternProperties": {
        "^(?!(?:action|expectedCurrentWorkspaceId|previousWorkspaceId)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "action",
          "expectedCurrentWorkspaceId",
          "previousWorkspaceId"
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "resolveLegacyRoute"
              ]
            }
          ]
        },
        "path": {
          "$ref": "#/$defs/NonEmptyString"
        }
      },
      "required": [
        "action",
        "path"
      ],
      "patternProperties": {
        "^(?!(?:action|path)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "action",
          "path"
        ]
      }
    }
  ],
  "$defs": {
    "NonEmptyString": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096
    },
    "SelectWorkspaceInput": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "action": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "activate"
                  ]
                }
              ]
            },
            "workspaceId": {
              "type": "string",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
              "format": "uuid"
            }
          },
          "required": [
            "action",
            "workspaceId"
          ],
          "patternProperties": {
            "^(?!(?:action|workspaceId)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "type": "string",
            "enum": [
              "action",
              "workspaceId"
            ]
          }
        },
        {
          "type": "object",
          "properties": {
            "action": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "ensure"
                  ]
                }
              ]
            }
          },
          "required": [
            "action"
          ],
          "patternProperties": {
            "^(?!(?:action)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "action"
                ]
              }
            ]
          }
        },
        {
          "type": "object",
          "properties": {
            "action": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "restore"
                  ]
                }
              ]
            },
            "expectedCurrentWorkspaceId": {
              "type": "string",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
              "format": "uuid"
            },
            "previousWorkspaceId": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "action",
            "expectedCurrentWorkspaceId",
            "previousWorkspaceId"
          ],
          "patternProperties": {
            "^(?!(?:action|expectedCurrentWorkspaceId|previousWorkspaceId)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "type": "string",
            "enum": [
              "action",
              "expectedCurrentWorkspaceId",
              "previousWorkspaceId"
            ]
          }
        },
        {
          "type": "object",
          "properties": {
            "action": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "resolveLegacyRoute"
                  ]
                }
              ]
            },
            "path": {
              "$ref": "#/$defs/NonEmptyString"
            }
          },
          "required": [
            "action",
            "path"
          ],
          "patternProperties": {
            "^(?!(?:action|path)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "type": "string",
            "enum": [
              "action",
              "path"
            ]
          }
        }
      ]
    }
  }
}
```

### Output schema (structuredContent)

```json
{
  "$defs": {
    "NonEmptyString": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096
    },
    "SelectWorkspaceOutput": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "organizationId": {
              "type": "string",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
              "format": "uuid"
            },
            "previousOrganizationId": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "organizationId",
            "previousOrganizationId"
          ],
          "patternProperties": {
            "^(?!(?:organizationId|previousOrganizationId)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "type": "string",
            "enum": [
              "organizationId",
              "previousOrganizationId"
            ]
          }
        },
        {
          "type": "object",
          "properties": {
            "restored": {
              "type": "boolean"
            }
          },
          "required": [
            "restored"
          ],
          "patternProperties": {
            "^(?!(?:restored)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "restored"
                ]
              }
            ]
          }
        },
        {
          "type": "object",
          "properties": {
            "slug": {
              "$ref": "#/$defs/NonEmptyString"
            }
          },
          "required": [
            "slug"
          ],
          "patternProperties": {
            "^(?!(?:slug)$)[\\s\\S]*$": false
          },
          "additionalProperties": true,
          "propertyNames": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "slug"
                ]
              }
            ]
          }
        }
      ]
    }
  },
  "type": "object",
  "anyOf": [
    {
      "allOf": [
        {
          "$ref": "#/$defs/SelectWorkspaceOutput"
        },
        {
          "type": "object"
        }
      ]
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "allOf": [
            {
              "$ref": "#/$defs/SelectWorkspaceOutput"
            },
            {
              "not": {
                "type": "object"
              }
            }
          ]
        }
      },
      "required": [
        "data"
      ],
      "additionalProperties": false
    }
  ]
}
```

### Underlying API operations

- `me.activateWorkspace`: `POST /v1/me/active-workspace`
- `me.ensureActiveWorkspace`: `POST /v1/me/active-workspace/ensure`
- `me.restoreActiveWorkspace`: `POST /v1/me/active-workspace/restore`
- `me.resolveLegacyRoute`: `POST /v1/me/legacy-route`

