delete_document
Remove a document from a company's or pitch's data room, for good: the file is purged from storage and there is no undo, so confirm with the user before calling this. Give the document's id from list_documents and the slug it belongs to. Two kinds of document are refused rather than guessed at: files that arrived on a founder update (they belong to the update, and the web app doesn't remove them from the data room either), and files a transaction was recorded from (the web app deletes those transactions along with the file, which is a change to do there, where the user can see what goes).
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": {
"company": "<company>",
"id": "<id>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document's id, from list_documents. | |
| company | Yes | Company or pitch the document belongs to, by slug. |