List source webhooks

List the webhooks declared in the source files of a project, a branch or an environment to see what a deployment creates; returns the declared webhooks, the discovery diagnostics and the source files that could not be read, without pagination. Requires project.agents.read.

Arguments

  • project_referencestring

    Project ID or slug.

  • runtime_target_kindstring | null

    Runtime target: main_branch, environment or preview_branch. Must match source_target_kind when both are sent.

  • target_environment_idstring · uuid | null

    Environment id, for the environment source target.

  • target_branch_idstring · uuid | null

    Branch id, for the preview_branch source target.

  • source_target_kindstring

    Source to read: project, main_branch, environment or preview_branch. Defaults to runtime_target_kind, then main_branch. One of project, main_branch, environment, preview_branch.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__list_source_webhooks",    "arguments": {}  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"data\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"target\":{\"kind\":\"agent\",\"id\":\"string\",\"conversation_mode\":\"create_new\",\"conversation_id\":\"00000000-0000-0000-0000-000000000000\"},\"prompt_template\":\"string\",\"event_filter\":null,\"definition_source\":\"source\",\"source_trigger_id\":\"string\",\"source_path\":\"string\",\"source_hash\":\"string\",\"edit_mode\":\"structured\"}],\"diagnostics\":[{\"kind\":\"source_file_diagnostic\",\"source_kind\":\"agent\",\"source_path\":\"string\",\"source_id\":\"string\",\"code\":\"parse_error\",\"message\":\"string\",\"details\":{}}],\"errors\":[{\"kind\":\"source_file_diagnostic\",\"source_kind\":\"agent\",\"source_path\":\"string\",\"source_id\":\"string\",\"code\":\"parse_error\",\"message\":\"string\",\"details\":{}}]}"      }    ],    "structuredContent": {      "data": [        {          "id": "string",          "name": "string",          "description": "string",          "target": {            "kind": "agent",            "id": "string",            "conversation_mode": "create_new",            "conversation_id": "00000000-0000-0000-0000-000000000000"          },          "prompt_template": "string",          "event_filter": null,          "definition_source": "source",          "source_trigger_id": "string",          "source_path": "string",          "source_hash": "string",          "edit_mode": "structured"        }      ],      "diagnostics": [        {          "kind": "source_file_diagnostic",          "source_kind": "agent",          "source_path": "string",          "source_id": "string",          "code": "parse_error",          "message": "string",          "details": {}        }      ],      "errors": [        {          "kind": "source_file_diagnostic",          "source_kind": "agent",          "source_path": "string",          "source_id": "string",          "code": "parse_error",          "message": "string",          "details": {}        }      ]    }  }}

The tool ran; its output is result.structuredContent.