list_custom_fields
Fetches all custom fields from Paperless-NGX so you can cache them and search by name locally, avoiding redundant API calls when a query may refer to a custom field.
Instructions
List all custom fields. IMPORTANT: When a user query may refer to a custom field, you should fetch all custom fields up front (with a large enough page_size), cache them for the session, and search locally for matches by name before making further API calls. This reduces redundant requests and handles ambiguity efficiently.
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_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| ordering | No | ||
| page_size | No | ||
| name__iexact | No | ||
| name__icontains | No | ||
| name__iendswith | No | ||
| name__istartswith | No |