Replace metadata
set_metadataReplace the document metadata. Pass the complete metadata object; omitted fields are removed.
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>",
"metadata": "<metadata>"
},
"name": "set_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | The Publisle document: an object with schemaVersion and blocks, as returned by the other tools. | |
| metadata | Yes |