restore_from_trash
Bring a document or note back from Clarifo's trash, with its versions, comments and company links, when the user asks. Find it with list_workspace_items(in_trash=true).
Args: idempotency_key: Optional; leave it out. Clarifo recognises a repeated identical request by its content. Give one only to retry this same request. item_id: A document in the trash. note_id: A note in the trash.
Returns: {"status": "restored", "kind", "item_id" | "note_id", "title", "editor_url" | "note_url"} or {"error", "failure_kind"}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "restore_from_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | No | ||
| note_id | No | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||