All tools
ToolWrite

Restore Project trash item

restore_project_trash_item

You need matching folders, sources, notes, recent changes, or library metadata.

When to use it

You need matching folders, sources, notes, recent changes, or library metadata.

Typical workflow

Find candidate library objects before reading full evidence.

What it returns

Metadata lists, ids, snippets, activity, and discovery hints.

Avoid using it when

You need exact quoted evidence from a long source; use chunk tools instead.

Advanced input contract

Agent hosts use this JSON Schema to validate the exact input shape.

View JSON Schema
{
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "format": "uuid"
    },
    "batchId": {
      "type": "string",
      "format": "uuid"
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Required for direct preview/commit calls. Reuse only for an exact retry."
    },
    "operationId": {
      "type": "string",
      "format": "uuid"
    },
    "commitToken": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "mode": {
      "type": "string",
      "enum": [
        "preview",
        "commit"
      ],
      "default": "preview"
    }
  },
  "required": [
    "projectId",
    "batchId"
  ],
  "additionalProperties": false
}

Useful next tools