page_generate_offset
Generate offset-based pagination for any entity with page numbers, total counts, and metadata. Configure framework, API key, and page sizes to produce pagination code.
Instructions
Generate offset-based pagination with page numbers, total counts, and metadata
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": {
"framework": "<framework>",
"entity": "<entity>"
},
"name": "page_generate_offset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity/model name to paginate | |
| api_key | No | API key for authentication | |
| framework | Yes | Framework or ORM | |
| max_page_size | No | Maximum allowed page size | |
| default_page_size | No | Default page size |