List snippets
list_snippetsFetch newsletter snippets from a Kit account, filter by type or archive status, and page through results.
Instructions
List snippets. Reads account data.
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_snippets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| before | No | ||
| account | No | Named private account from KIT_ACCOUNTS. Defaults to KIT_DEFAULT_ACCOUNT or the first configured account. | |
| archived | No | ||
| per_page | No | ||
| all_pages | No | Read successive cursor pages, bounded by max_items (default 1000). Default false returns one API page. | |
| max_items | No | Maximum records when all_pages=true. A capped result reports truncation and its continuation cursor. | |
| snippet_type | No | ||
| include_content | No | ||
| include_total_count | No |