Set active space
set_active_spaceSwitch the MCP server's active Space. Subsequent tool calls (list_campaigns, create_ad, get_performance_stats, etc.) are scoped to the chosen Space. Validates membership against the token owner's Spaces list and surfaces NOT_A_MEMBER / SPACE_NOT_FOUND as isError results. Idempotent — re-setting to the current Space is a no-op.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"space_id": "<space_id>"
},
"name": "set_active_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_id | Yes | Override the active Space for this one call. Defaults to the active Space set via set_active_space (or GROWOMAT_SPACE_ID on the server). Pass to read/write a different Space without changing the session binding. |