veryfront__list_prompts
Requires project.agents.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 |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
source_target_kind | string | No | Source to read prompts from: project, main_branch, environment or preview_branch. Falls back to runtime_target_kind when omitted. Values: "project", "main_branch", "environment", "preview_branch". |
runtime_target_kind | string or null | No | Runtime target to read from when source_target_kind is omitted: main_branch, environment or preview_branch. |
target_environment_id | string or null | No | Environment to use. Required for the environment target; rejected for any other target. |
target_branch_id | string or null | No | Preview branch to use. Required for the preview_branch target; rejected for any other target. |
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_prompts",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 | Primary result records returned by the tool. |
page_info | object | Yes | Pagination cursor values for traversing the result set. |
diagnostics | object[] | No | Prompt source files that could not be read. REST omits it when there are none. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "source_target_kind": {9 "type": "string",10 "enum": [11 "project",12 "main_branch",13 "environment",14 "preview_branch"15 ],16 "description": "Source to read prompts from: project, main_branch, environment or preview_branch. Falls back to runtime_target_kind when omitted."17 },18 "runtime_target_kind": {19 "anyOf": [20 {21 "type": "string",22 "enum": [23 "main_branch",24 "environment",25 "preview_branch"26 ],27 "description": "Provide the runtime target kind."28 },29 {30 "type": "null",31 "description": "Provide the runtime target kind."32 }33 ],34 "description": "Runtime target to read from when source_target_kind is omitted: main_branch, environment or preview_branch."35 },36 "target_environment_id": {37 "anyOf": [38 {39 "type": "string",40 "format": "uuid",41 "description": "Provide the target environment id."42 },43 {44 "type": "null",45 "description": "Provide the target environment id."46 }47 ],48 "description": "Environment to use. Required for the environment target; rejected for any other target."49 },50 "target_branch_id": {51 "anyOf": [52 {53 "type": "string",54 "format": "uuid",55 "description": "Provide the target branch id."56 },57 {58 "type": "null",59 "description": "Provide the target branch id."60 }61 ],62 "description": "Preview branch to use. Required for the preview_branch target; rejected for any other target."63 }64 },65 "additionalProperties": false,66 "$schema": "http://json-schema.org/draft-07/schema#",67 "description": "Arguments for the list_prompts tool."68}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 "description": "Unique identifier for the returned record."12 },13 "name": {14 "type": "string",15 "description": "Human-readable name for the returned record."16 },17 "description": {18 "type": [19 "string",20 "null"21 ],22 "description": "Human-readable description returned by the tool."23 },24 "source_path": {25 "type": "string"26 },27 "edit_mode": {28 "type": "string",29 "enum": [30 "structured",31 "source_only"32 ]33 }34 },35 "required": [36 "id",37 "name",38 "description",39 "source_path",40 "edit_mode"41 ],42 "additionalProperties": false43 },44 "description": "Primary result records returned by the tool."45 },46 "page_info": {47 "type": "object",48 "properties": {49 "self": {50 "type": [51 "string",52 "null"53 ],54 "description": "Cursor that refers to the current page."55 },56 "first": {57 "type": "null"58 },59 "next": {60 "type": [61 "string",62 "null"63 ],64 "description": "Cursor for the next page when pagination is available."65 },66 "prev": {67 "type": [68 "string",69 "null"70 ],71 "description": "Cursor for the previous page when pagination is available."72 }73 },74 "required": [75 "self",76 "first",77 "next",78 "prev"79 ],80 "additionalProperties": false,81 "description": "Pagination cursor values for traversing the result set."82 },83 "diagnostics": {84 "type": "array",85 "items": {86 "type": "object",87 "properties": {88 "kind": {89 "type": "string",90 "enum": [91 "source_file_diagnostic",92 "source_agent_discovery_error",93 "source_trigger_discovery_error"94 ]95 },96 "source_kind": {97 "type": "string",98 "enum": [99 "agent",100 "prompt",101 "tool",102 "task",103 "workflow",104 "resource",105 "skill",106 "eval",107 "schedule",108 "webhook"109 ]110 },111 "source_path": {112 "type": "string",113 "minLength": 1114 },115 "source_id": {116 "anyOf": [117 {118 "type": "string",119 "minLength": 1120 },121 {122 "type": "null",123 "description": "The source id returned by the tool."124 }125 ]126 },127 "code": {128 "type": "string",129 "enum": [130 "parse_error",131 "invalid_definition",132 "dynamic_definition",133 "duplicate_source_id",134 "unsupported_target",135 "manual_conflict"136 ]137 },138 "message": {139 "type": "string",140 "minLength": 1141 },142 "details": {143 "anyOf": [144 {145 "type": "object",146 "additionalProperties": {147 "description": "Additional structured values associated with this result."148 },149 "description": "Structured details details associated with this tool result."150 },151 {152 "type": "null",153 "description": "The details returned by the tool."154 }155 ]156 }157 },158 "required": [159 "kind",160 "source_kind",161 "source_path",162 "code",163 "message"164 ],165 "additionalProperties": false166 },167 "description": "Prompt source files that could not be read. REST omits it when there are none."168 }169 },170 "required": [171 "data",172 "page_info"173 ],174 "additionalProperties": false,175 "description": "Structured result returned by the list_prompts tool.",176 "$schema": "http://json-schema.org/draft-07/schema#"177}