Read list items
nodiom_read_listReturns all list items under a selector as a JSON array of strings.
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": {
"doc_id": "<doc_id>",
"selector": "<selector>"
},
"name": "nodiom_read_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Document ID. Examples: "waitlist", "content-calendar", "metrics". | |
| selector | Yes | Structural selector. Examples: "## Signups", "## Active > li[0]", "## Active > li[contains=\"id=c_7f3a\"]". Prefer the contains form when writing: an index is a position, not an identity, so if another agent appends to the same section between your read and your write, li[0] now points at a different node and your write lands on the wrong one. A contains selector must match exactly one node or it errors rather than guessing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Each list item's source, marker and nested lines included. | |
| doc_id | Yes | The document id. | |
| selector | Yes | The selector the call addressed. |