delete
Move a topic to a timestamped trash folder and return its path for manual restore, pruning empty parent folders.
Instructions
Soft-delete a topic, moving it to /.trash//.md.
Returns the trash path so it can be manually restored. Parent folders are pruned if empty. Topics are never unlinked.
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": {
"topic_id": "<topic_id>"
},
"name": "delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_id | Yes | Topic id, e.g. 'projects/atlas-ports' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |