document_preview
Validate document declarations and preview differences against a provided baseline to identify changes before applying edits.
Instructions
校验声明并预览差异, 编辑时携带 document_read 返回的 baseline.
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": {
"document": "<document>"
},
"name": "document_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | user | |
| baseline | No | ||
| document | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||