Disconnect an agent environment
disconnect_agent_environmentDisconnect an agent environment from a project. Sessions stop being picked up, any session running in the project is stopped, and the stored key is deleted. The environment itself stays on the platform until the owner deletes it there.
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": {
"project_id": "<project_id>",
"provider": "<provider>"
},
"name": "disconnect_agent_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | The agent platform: anthropic (Managed Agents) or openai (Agents API). | |
| project_id | Yes | The project's id, as returned by create_project or list_projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | true once it is gone. |