promote_list_item
Promotes a list item by decreasing its indentation level by one. Returns the paragraph ID and new indentation level. Raises an error if the paragraph is not a list item.
Instructions
Decrease the list indentation level (ilvl) of a paragraph by 1, minimum 0.
Returns {para_id, ilvl}. Raises ValueError if paragraph is not a list item.
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": {
"para_id": "<para_id>"
},
"name": "promote_list_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |