delete_connection
Removes a connection from a live Trident document. Provide either the connectionId, or both source and target node IDs to find and remove the matching connection. Use get_document_summary to get all connection IDs before calling this. Requires a valid editor access token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Editor access token for this document. The document ID is embedded in the token. | |
| source | No | Source node ID (use with target if connectionId unknown) | |
| target | No | Target node ID (use with source if connectionId unknown) | |
| agentId | Yes | YOUR AI assistant name (e.g. "Claude.ai", "GitHub Copilot"). Shown as "[agentId] working with [userName]" in the collaboration presence dot. | |
| userName | No | First name of the human you are assisting (ask them at session start if you do not know). Shown in the collaboration presence dot as "[agentId] working with [userName]". | |
| connectionId | No | ID of the connection to delete (preferred) | |
| action_explanation | No | Optional: brief explanation of what this action does and why (max 250 chars). Shown live to human collaborators in the AI cursor tooltip. |