Get tool

veryfront__get_tool

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

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug
tool_idstringYesProject-defined tool ID returned by list_tools. This lookup does not load a host executable tool contract.
runtime_target_kindstring or nullNoProvide the runtime target kind.
target_environment_idstring or nullNoProvide the target environment id.
target_branch_idstring or nullNoProvide the target branch id.
source_target_kindstringNoProvide the source target kind. Values: "project", "main_branch", "environment", "preview_branch".

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
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__get_tool",    "arguments": {      "tool_id": "example"    }  }}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
idstringYesUnique identifier for the record.
namestringYesHuman-readable name for the record.
descriptionstring or nullYesHuman-readable description for the record.
source_pathstringYesThe source path associated with this record.
edit_modestringYesThe edit mode associated with this record. Values: "structured", "source_only".
input_schemaobject or nullYesThe input schema associated with this record.
output_schemaobject or nullYesThe output schema associated with this record.

Full schemas

input-schema.json
{  "type": "object",  "properties": {    "project_reference": {      "type": "string",      "description": "Project ID or slug"    },    "tool_id": {      "type": "string",      "description": "Project-defined tool ID returned by list_tools. This lookup does not load a host executable tool contract."    },    "runtime_target_kind": {      "anyOf": [        {          "type": "string",          "enum": [            "main_branch",            "environment",            "preview_branch"          ],          "description": "Provide the runtime target kind."        },        {          "type": "null",          "description": "Provide the runtime target kind."        }      ],      "description": "Provide the runtime target kind."    },    "target_environment_id": {      "anyOf": [        {          "type": "string",          "format": "uuid",          "description": "Provide the target environment id."        },        {          "type": "null",          "description": "Provide the target environment id."        }      ],      "description": "Provide the target environment id."    },    "target_branch_id": {      "anyOf": [        {          "type": "string",          "format": "uuid",          "description": "Provide the target branch id."        },        {          "type": "null",          "description": "Provide the target branch id."        }      ],      "description": "Provide the target branch id."    },    "source_target_kind": {      "type": "string",      "enum": [        "project",        "main_branch",        "environment",        "preview_branch"      ],      "description": "Provide the source target kind."    }  },  "required": [    "tool_id"  ],  "additionalProperties": false,  "$schema": "http://json-schema.org/draft-07/schema#",  "description": "Arguments for the get_tool tool."}
output-schema.json
{  "type": "object",  "properties": {    "id": {      "type": "string",      "description": "Unique identifier for the record."    },    "name": {      "type": "string",      "description": "Human-readable name for the record."    },    "description": {      "type": [        "string",        "null"      ],      "description": "Human-readable description for the record."    },    "source_path": {      "type": "string",      "description": "The source path associated with this record."    },    "edit_mode": {      "type": "string",      "enum": [        "structured",        "source_only"      ],      "description": "The edit mode associated with this record."    },    "input_schema": {      "anyOf": [        {          "type": "object",          "additionalProperties": {            "description": "Additional structured values associated with this result."          },          "description": "Structured input schema details associated with this record."        },        {          "type": "null",          "description": "The input schema returned by the tool."        }      ],      "description": "The input schema associated with this record."    },    "output_schema": {      "anyOf": [        {          "type": "object",          "additionalProperties": {            "description": "Additional structured values associated with this result."          },          "description": "Structured output schema details associated with this record."        },        {          "type": "null",          "description": "The output schema returned by the tool."        }      ],      "description": "The output schema associated with this record."    }  },  "required": [    "id",    "name",    "description",    "source_path",    "edit_mode",    "input_schema",    "output_schema"  ],  "additionalProperties": false,  "description": "Structured tool output schema for MCP tools.",  "$schema": "http://json-schema.org/draft-07/schema#"}