Update library item (versioned)
update_library_itemUpdate a library document's title and/or content (content edits create a new version).
Content is markdown, or raw HTML when the document is already text/html.
The document type does not change.
Args:
item_id: The item UUID
title: New title (optional)
content: New markdown or HTML source (optional)
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": {
"item_id": "<item_id>"
},
"name": "update_library_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| content | No | ||
| item_id | Yes | ||
| strategy_id | No | Strategy this call belongs to. UUID from list_strategies. The card this call writes keeps that id. Omit when the call is not part of a strategy. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |