list_links
List a document's links, newest first, with what each plays, its URLs and whether it was revoked.
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_id": "<document_id>"
},
"name": "list_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | The cursor the previous page ended with. | |
| limit | No | How many to return. | |
| document_id | Yes | The document, `doc_…`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | `after` for the next page; absent on the last. | |
| links | Yes | Newest first, revoked ones too. |