veryfront__list_retrieval_documents
Requires project.knowledge.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
limit | integer | No | Records per page, 1 to 100; default 20. Minimum: 1. Maximum: 100. |
cursor | string | No | Opaque page_info.next from the previous page. A cursor this list did not issue is invalid_input. Minimum length: 1. Maximum length: 2048. |
project_reference | string | No | Project ID or slug. A project you cannot read is not_found. The MCP tool requires a signed-in user (a user session or user API key); service and agent-run credentials without a user are unauthenticated. Minimum length: 1. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__list_retrieval_documents",7 "arguments": {}8 }9}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
data | object[] | Yes | Retrieval document records behind ragStore(), oldest first with ID as tie-breaker. Read the ID and current revision before updating or deleting. Follow the next cursor until null to read every record. |
page_info | object | Yes | Pagination cursor values for traversing the result set. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "limit": {5 "type": "integer",6 "minimum": 1,7 "maximum": 100,8 "description": "Records per page, 1 to 100; default 20."9 },10 "cursor": {11 "type": "string",12 "minLength": 1,13 "maxLength": 2048,14 "description": "Opaque page_info.next from the previous page. A cursor this list did not issue is invalid_input."15 },16 "project_reference": {17 "type": "string",18 "minLength": 1,19 "description": "Project ID or slug. A project you cannot read is not_found. The MCP tool requires a signed-in user (a user session or user API key); service and agent-run credentials without a user are unauthenticated."20 }21 },22 "additionalProperties": false,23 "description": "Arguments for the list_retrieval_documents tool.",24 "$schema": "http://json-schema.org/draft-07/schema#"25}output-schema.json
1{2 "type": "object",3 "properties": {4 "data": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "id": {10 "type": "string",11 "format": "uuid",12 "description": "Retrieval document ID."13 },14 "revision": {15 "type": "string",16 "pattern": "^[a-f0-9]{64}$",17 "description": "Opaque revision of this record. Send it as expected_revision to update or delete exactly this version."18 },19 "title": {20 "type": "string",21 "description": "Document title."22 },23 "source": {24 "type": "string",25 "description": "Upstream source reference, such as a file path or URL; empty when not set."26 },27 "type": {28 "type": "string",29 "description": "Document type label; empty when not set."30 },31 "metadata": {32 "type": "object",33 "additionalProperties": {34 "description": "Additional structured values associated with this result."35 },36 "description": "Structured metadata stored with the record: an object of string keys to JSON values."37 },38 "created_at": {39 "type": "string",40 "format": "date-time",41 "description": "When the record was created (RFC 3339, UTC)."42 },43 "updated_at": {44 "type": "string",45 "format": "date-time",46 "description": "When the record last changed (RFC 3339, UTC)."47 }48 },49 "required": [50 "id",51 "revision",52 "title",53 "source",54 "type",55 "metadata",56 "created_at",57 "updated_at"58 ],59 "additionalProperties": false60 },61 "description": "Retrieval document records behind ragStore(), oldest first with ID as tie-breaker. Read the ID and current revision before updating or deleting. Follow the next cursor until null to read every record."62 },63 "page_info": {64 "type": "object",65 "properties": {66 "self": {67 "type": [68 "string",69 "null"70 ],71 "description": "Cursor that refers to the current page."72 },73 "first": {74 "type": "null"75 },76 "next": {77 "type": [78 "string",79 "null"80 ],81 "description": "Cursor for the next page when pagination is available."82 },83 "prev": {84 "type": [85 "string",86 "null"87 ],88 "description": "Cursor for the previous page when pagination is available."89 }90 },91 "required": [92 "self",93 "first",94 "next",95 "prev"96 ],97 "additionalProperties": false,98 "description": "Pagination cursor values for traversing the result set."99 }100 },101 "required": [102 "data",103 "page_info"104 ],105 "additionalProperties": false,106 "description": "Structured result returned by the list_retrieval_documents tool.",107 "$schema": "http://json-schema.org/draft-07/schema#"108}