Delete pins
delete_compsPermanently delete pins/records — specific ones by ID, every pin in a layer, or an entire layer. THIS DELETES IMMEDIATELY and cannot be undone, so confirm with the user first. Use compIds to delete specific pins. Use scope 'layer' with layerName (or layerId) to delete a whole layer AND all its pins (layer owner only). Use scope 'comps' with a layerName and no compIds to clear every pin in a layer but keep the layer. Only affects the caller's own data (and pins in layers shared to them with admin access). This is the tool to use when a user wants to clear out old/junk pins or empty a layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'comps' (default) deletes pins/records; 'layer' deletes an entire layer and every pin in it. | |
| compIds | No | IDs of the specific pins/records to delete (scope 'comps'). Omit to target every pin in the named layer. | |
| context | Yes | Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution." | |
| layerId | No | Layer ID. Required for scope 'layer'; for scope 'comps' it limits the delete to that layer. | |
| layerName | No | Layer name — resolves the layer when no layerId is given. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |