switch_tenant
Act inside another tenant from now on — same connection, same key. Use it ON YOUR OWN, without asking, whenever the task belongs to another tenant (its company, customer, project, module or connected system such as Support-AI-ze/TenderAIze lives there — see list_my_tenants and the server instructions); say in one sentence that you switched, and switch back when done. Required: tenant_id, or null/omitted to RETURN to your own tenant (that direction always works and is never refused). The permission is re-checked on EVERY later call, not just here, so a revoked delegation takes effect immediately. IMPORTANT: module tools differ per tenant, and your client caches the tool list from when it connected — after switching, a module tool of the other tenant will answer with an explanation rather than silently failing. From a Dev-Agent session the switch applies to THIS session only; other sessions on the same key stay where they are. agent_id: the agent to act as in the target tenant (uuid from that tenant's list_agents), or 'none' for no agent. Omitted: in a foreign tenant no agent (your session's agent belongs to your home tenant); back home, your session's agent again.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "switch_tenant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Agent in the target tenant to act as, or "none". Omit to use the session's own agent where it exists. | |
| tenant_id | No | ID of the tenant |