List charts
list_chartsUse this when the user wants to find charts in their saved library. Returns paginated metadata and URLs, not chart documents; requires authentication. Draft-only editor charts have publishedAt null, hasDraft true, and sizeBytes 0 because sizeBytes measures only the stored published document, not draft storage.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_charts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Case-insensitive title substring search; trimmed and limited to 100 characters | |
| sort | No | Sort by creation time (default), update time, or title A-Z | |
| limit | No | Page size; defaults to 100 and has a maximum of 1000 | |
| author | No | An authorId from a listed chart, or "former" for charts whose author has left the workspace; omit to list every author | |
| cursor | No | Opaque nextCursor from the previous page | |
| source | No | Filter by one or more chart sources; omit to list all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total | No | Exact match count, present for title searches or when explicitly requested | |
| workspace | Yes | Workspace this connection saves and lists charts in | |
| nextCursor | Yes | Opaque cursor for the next page, or null on the last page |