All tools
ToolWrite
Restore archived Project
restore_projectYou need the user's accessible workspace map or a compact context pack.
When to use it
You need the user's accessible workspace map or a compact context pack.
Typical workflow
Orient first, then choose the smallest task-specific tool.
What it returns
Workspace availability, recent objects, tool routing, or query-focused context.
Avoid using it when
You already have the exact source, draft, post, artifact, or portfolio id.
Advanced input contract
Agent hosts use this JSON Schema to validate the exact input shape.
View JSON Schema
{
"type": "object",
"properties": {
"folderId": {
"type": "string",
"format": "uuid"
},
"expectedUpdatedAt": {
"type": "string",
"format": "date-time"
},
"expectedSubtree": {
"type": "array",
"minItems": 1,
"description": "Exact folder revision snapshot returned by this tool's preview commitBinding.",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"updatedAt"
],
"additionalProperties": false
}
},
"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": [
"folderId",
"expectedUpdatedAt"
],
"additionalProperties": false
}