List source schedules

List the schedules declared in the source files of a project, a branch or an environment to see what can be activated; returns every declared schedule as one page with the discovery diagnostics. Requires project.runs.read.

Arguments

  • project_referencestring

    Project ID or slug.

  • runtime_target_kindstring | null

    Runtime target to read from when source_target_kind is omitted.

  • target_environment_idstring · uuid | null

    Environment ID when the target kind is environment.

  • target_branch_idstring · uuid | null

    Branch ID when the target kind is preview_branch.

  • source_target_kindstring

    Source to read: project, main_branch, environment or preview_branch. Defaults to runtime_target_kind, then project. 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_schedules",    "arguments": {}  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"data\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"target\":{\"kind\":\"task\",\"id\":\"string\",\"conversation_mode\":\"create_new\",\"conversation_id\":\"00000000-0000-0000-0000-000000000000\"},\"schedule\":\"string\",\"timezone\":\"string\",\"runtime_target_kind\":\"main_branch\",\"runtime_target_environment_id\":\"00000000-0000-0000-0000-000000000000\",\"runtime_target_branch_id\":\"00000000-0000-0000-0000-000000000000\",\"config\":{},\"timeout_seconds\":1,\"backoff_limit\":0,\"concurrency_policy\":\"string\",\"max_runs\":1,\"health\":{\"maxStalenessSeconds\":1},\"definition_source\":\"source\",\"source_trigger_id\":\"string\",\"source_path\":\"string\",\"source_hash\":\"string\",\"edit_mode\":\"structured\"}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"},\"diagnostics\":[{\"kind\":\"source_file_diagnostic\",\"source_kind\":\"agent\",\"source_path\":\"string\",\"source_id\":\"string\",\"code\":\"parse_error\",\"message\":\"string\"}]}"      }    ],    "structuredContent": {      "data": [        {          "id": "string",          "name": "string",          "description": "string",          "target": {            "kind": "task",            "id": "string",            "conversation_mode": "create_new",            "conversation_id": "00000000-0000-0000-0000-000000000000"          },          "schedule": "string",          "timezone": "string",          "runtime_target_kind": "main_branch",          "runtime_target_environment_id": "00000000-0000-0000-0000-000000000000",          "runtime_target_branch_id": "00000000-0000-0000-0000-000000000000",          "config": {},          "timeout_seconds": 1,          "backoff_limit": 0,          "concurrency_policy": "string",          "max_runs": 1,          "health": {            "maxStalenessSeconds": 1          },          "definition_source": "source",          "source_trigger_id": "string",          "source_path": "string",          "source_hash": "string",          "edit_mode": "structured"        }      ],      "page_info": {        "self": "string",        "first": null,        "next": "string",        "prev": "string"      },      "diagnostics": [        {          "kind": "source_file_diagnostic",          "source_kind": "agent",          "source_path": "string",          "source_id": "string",          "code": "parse_error",          "message": "string"        }      ]    }  }}

The tool ran; its output is result.structuredContent.