set_metadata
Set a metadata key-value pair, optionally scoped to a document. Overwrites any existing value for the same key and document ID combination.
Instructions
Set a metadata key-value pair, optionally scoped to a document.
Overwrites any existing value for the same key+doc_id combination.
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": {
"key": "<key>",
"value": "<value>"
},
"name": "set_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes | ||
| doc_id | No |