# Get schedule

Tool: `veryfront__get_schedule`

Read one schedule by its ID to inspect its target, cron expression, runtime target, state and last failure; returns the schedule. Requires project.runs.read.

## Arguments

| Name                | Type          | Required | Description         |
| ------------------- | ------------- | -------- | ------------------- |
| `project_reference` | string        |          | Project ID or slug. |
| `schedule_id`       | string · uuid | Yes      | Schedule ID.        |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
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__get_schedule",
    "arguments": {
      "schedule_id": "00000000-0000-0000-0000-000000000000"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"id\":\"00000000-0000-0000-0000-000000000000\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"name\":\"string\",\"status\":\"active\",\"paused_reason\":\"string\",\"paused_at\":\"string\",\"last_failure_at\":\"string\",\"last_failure_code\":\"string\",\"last_failure_message\":\"string\",\"last_failure_run_id\":\"00000000-0000-0000-0000-000000000000\",\"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\":0,\"backoff_limit\":0,\"concurrency_policy\":\"string\",\"definition_source\":\"manual\",\"source_trigger_id\":\"string\",\"source_path\":\"string\",\"source_hash\":\"string\",\"last_scheduled_at\":\"string\",\"last_successful_at\":\"string\",\"health\":{\"maxStalenessSeconds\":1},\"max_runs\":1,\"run_count\":0,\"completed_at\":\"string\",\"created_by\":\"00000000-0000-0000-0000-000000000000\",\"integration_requirements\":[],\"created_at\":\"string\",\"updated_at\":\"string\"}"
      }
    ],
    "structuredContent": {
      "id": "00000000-0000-0000-0000-000000000000",
      "project_id": "00000000-0000-0000-0000-000000000000",
      "name": "string",
      "status": "active",
      "paused_reason": "string",
      "paused_at": "string",
      "last_failure_at": "string",
      "last_failure_code": "string",
      "last_failure_message": "string",
      "last_failure_run_id": "00000000-0000-0000-0000-000000000000",
      "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": 0,
      "backoff_limit": 0,
      "concurrency_policy": "string",
      "definition_source": "manual",
      "source_trigger_id": "string",
      "source_path": "string",
      "source_hash": "string",
      "last_scheduled_at": "string",
      "last_successful_at": "string",
      "health": {
        "maxStalenessSeconds": 1
      },
      "max_runs": 1,
      "run_count": 0,
      "completed_at": "string",
      "created_by": "00000000-0000-0000-0000-000000000000",
      "integration_requirements": [],
      "created_at": "string",
      "updated_at": "string"
    }
  }
}
```
