mcpDeterministic
Delete prospects
tools/call
Permanently delete one or up to 1000 workspace contacts by explicit ID, including CRM and prospect-stage contacts. Also deletes dependent campaign executions, messages, tasks and research. Requires confirm=true. Missing or previously deleted IDs return in notFoundIds. Does not delete contacts in external CRMs.
Parameters
workspaceId
string
No description.
prospectIdsrequired
string[]
No description.
confirmrequired
boolean
No description.
Example
MCP tools/calljson
{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "delete-prospects","arguments": {"prospectIds": ["00000000-0000-4000-8000-000000000000"],"confirm": true}}}
Response
Success response schemajson schema
{"type": "object","properties": {"deletedIds": {"type": "array","items": {"type": "string"}},"notFoundIds": {"type": "array","items": {"type": "string"}}},"required": ["deletedIds","notFoundIds"]}
JSON-RPC errors
- -32602
- Invalid parameters. Field-level details are returned in the JSON-RPC error data.
- -32001
- Authentication or hosted AI consent is required.
- -32003
- Workspace access is denied.
- -32029
- The request was rate limited.