Delete document
delete_docWrite: soft-delete an agent-owned doc/card (source_type=api) only. Human url/file cards → forbidden via MCP. After success the doc is no longer visible to the agent (soft-delete, not a hard wipe). DELETE /api/v1/source-items/{id}/agent confirm_title must exactly match the effective title (display_title or title from get_doc). Needs ingest:write.
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": {
"id": "<id>",
"confirm_title": "<confirm_title>"
},
"name": "delete_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | source_item UUID or silvalabs:doc/<uuid>/… | |
| confirm_title | Yes | Exact effective title to confirm delete |