List products and services
Products and services you can put on an invoice, with price and tax.
MCP tool alegra_read → list_items
read
Lists your products and services with the default price and the tax each one carries. Use item_id as the item of an invoice line. A line may override the price, so the price here is the default only. Pass next_cursor back as cursor for the next page.
Parameters
| Name | Type | Description |
|---|---|---|
| query string | string | Part of the name or the reference. |
| limit integer | integer | Items per page. |
| cursor string | string | Next page cursor from the previous call. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "alegra_read",
"arguments": {
"operation": "list_items",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"items": [
{
"item_id": "12",
"name": "Landing page review",
"reference": "LPR-01",
"price": 400,
"tax": {
"tax_id": "3",
"name": "IVA 19%"
}
},
{
"item_id": "15",
"name": "Setup",
"reference": "SET-01",
"price": 150,
"tax": {
"tax_id": "3",
"name": "IVA 19%"
}
}
],
"next_cursor": null
},
"isError": false
}