veryfront__create_schedule
Requires project.runs.write.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug that owns the schedule. |
name | string | Yes | Human-readable schedule name. Minimum length: 1. Maximum length: 255. |
target | object | Yes | Typed schedule target. |
schedule | string | Yes | Schedule expression, for example a cron expression. Minimum length: 1. Maximum length: 255. |
timezone | string | No | IANA timezone used to evaluate the schedule. Defaults to UTC. Minimum length: 1. Maximum length: 128. |
runtime_target_kind | string | No | Runtime target kind for scheduled runs. Values: "main_branch", "environment", "preview_branch". |
runtime_target_environment_id | string or null | No | Environment ID when runtime_target_kind is environment. |
runtime_target_branch_id | string or null | No | Branch ID when runtime_target_kind is preview_branch. |
config | object | No | Run configuration. For agent schedules, put the run prompt in config.prompt. |
timeout_seconds | integer | No | Per-run timeout in seconds. |
backoff_limit | integer | No | Retry backoff limit for failed scheduled runs. Minimum: 0. |
concurrency_policy | string | No | How overlapping scheduled runs are handled. Values: "Allow", "Forbid", "Replace". |
max_runs | integer or null | No | Optional maximum number of scheduled runs. |
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__create_schedule",7 "arguments": {8 "name": "example",9 "target": {10 "kind": "task",11 "id": "example"12 },13 "schedule": "example"14 }15 }16}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 |
|---|---|---|---|
id | string | Yes | Schedule ID. Format: uuid. |
project_id | string | Yes | Owning project ID. Format: uuid. |
name | string | Yes | Human-readable schedule name. |
status | string | Yes | Schedule status. Values: "active", "paused", "deleting". |
paused_reason | string or null | Yes | System pause reason when Veryfront pauses the schedule. |
paused_at | string or null | Yes | Timestamp when Veryfront paused the schedule. |
last_failure_at | string or null | Yes | Timestamp of the most recent schedule failure. |
last_failure_code | string or null | Yes | Most recent schedule failure code. |
last_failure_message | string or null | Yes | Most recent schedule failure message. |
last_failure_run_id | string or null | Yes | Canonical run ID for the most recent schedule failure. |
target | object | Yes | Typed schedule target. |
schedule | string | Yes | Schedule expression. |
timezone | string | Yes | IANA timezone. |
runtime_target_kind | string | Yes | Runtime target kind. Values: "main_branch", "environment", "preview_branch". |
runtime_target_environment_id | string or null | Yes | Environment ID for environment schedules. |
runtime_target_branch_id | string or null | Yes | Branch ID for preview branch schedules. |
config | object | Yes | Run configuration without internal schedule target metadata. |
timeout_seconds | integer | Yes | Per-run timeout in seconds. |
backoff_limit | integer | Yes | Retry backoff limit. |
concurrency_policy | string | Yes | How overlapping scheduled runs are handled. |
definition_source | string | Yes | Whether the schedule is manually managed or source-defined. Values: "manual", "source". |
source_trigger_id | string or null | Yes | Source trigger ID for source-defined schedules. |
source_path | string or null | Yes | Source file path for source-defined schedules. |
source_hash | string or null | Yes | Source definition hash for source-defined schedules. |
last_scheduled_at | string or null | Yes | Last scheduled fire time. |
last_successful_at | string or null | Yes | Last successful run time. |
health | object or null | Yes | Optional staleness budget used for schedule health alerting. |
max_runs | integer or null | Yes | Optional maximum run count. |
run_count | integer | Yes | Fire reservations counted toward the repetition limit; released reservations are subtracted. Minimum: 0. |
completed_at | string or null | Yes | Completion time for finite schedules. |
created_by | string or null | Yes | User that created the schedule. |
integration_requirements | object[] | No | OAuth scopes and exact provider resources required before the schedule can run. Default: []. |
created_at | string | Yes | Creation timestamp. |
updated_at | string | Yes | Last update timestamp. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug that owns the schedule."7 },8 "name": {9 "type": "string",10 "minLength": 1,11 "maxLength": 255,12 "description": "Human-readable schedule name."13 },14 "target": {15 "type": "object",16 "properties": {17 "kind": {18 "type": "string",19 "enum": [20 "task",21 "workflow",22 "agent"23 ],24 "description": "Kind of scheduled target."25 },26 "id": {27 "type": "string",28 "minLength": 1,29 "maxLength": 255,30 "description": "Target identifier. For agent schedules, this is the agent ID."31 },32 "conversation_mode": {33 "type": "string",34 "enum": [35 "create_new",36 "existing",37 "none"38 ],39 "description": "Conversation behaviour for an agent target. Defaults to none. Use create_new for an agent that delegates with invoke_agent - a run with no conversation cannot be paused for delegation. Agent targets run headlessly by default; create_new or existing creates or appends a conversation message."40 },41 "conversation_id": {42 "anyOf": [43 {44 "type": "string",45 "format": "uuid",46 "description": "Conversation identifier associated with the record."47 },48 {49 "type": "null",50 "description": "Conversation identifier that scopes the request."51 }52 ],53 "description": "Existing conversation to continue. Only allowed when conversation_mode is existing, and required in that case."54 }55 },56 "required": [57 "kind",58 "id"59 ],60 "additionalProperties": false,61 "description": "Typed schedule target."62 },63 "schedule": {64 "type": "string",65 "minLength": 1,66 "maxLength": 255,67 "description": "Schedule expression, for example a cron expression."68 },69 "timezone": {70 "type": "string",71 "minLength": 1,72 "maxLength": 128,73 "description": "IANA timezone used to evaluate the schedule. Defaults to UTC."74 },75 "runtime_target_kind": {76 "type": "string",77 "enum": [78 "main_branch",79 "environment",80 "preview_branch"81 ],82 "description": "Runtime target kind for scheduled runs."83 },84 "runtime_target_environment_id": {85 "anyOf": [86 {87 "type": "string",88 "format": "uuid",89 "description": "The runtime target environment id associated with this record."90 },91 {92 "type": "null",93 "description": "Provide the runtime target environment id."94 }95 ],96 "description": "Environment ID when runtime_target_kind is environment."97 },98 "runtime_target_branch_id": {99 "anyOf": [100 {101 "type": "string",102 "format": "uuid",103 "description": "The runtime target branch id associated with this record."104 },105 {106 "type": "null",107 "description": "Provide the runtime target branch id."108 }109 ],110 "description": "Branch ID when runtime_target_kind is preview_branch."111 },112 "config": {113 "type": "object",114 "additionalProperties": {115 "description": "Additional structured values associated with this result."116 },117 "description": "Run configuration. For agent schedules, put the run prompt in config.prompt."118 },119 "timeout_seconds": {120 "type": "integer",121 "exclusiveMinimum": 0,122 "description": "Per-run timeout in seconds."123 },124 "backoff_limit": {125 "type": "integer",126 "minimum": 0,127 "description": "Retry backoff limit for failed scheduled runs."128 },129 "concurrency_policy": {130 "type": "string",131 "enum": [132 "Allow",133 "Forbid",134 "Replace"135 ],136 "description": "How overlapping scheduled runs are handled."137 },138 "max_runs": {139 "anyOf": [140 {141 "type": "integer",142 "exclusiveMinimum": 0,143 "description": "The max runs associated with this record."144 },145 {146 "type": "null",147 "description": "Provide the max runs."148 }149 ],150 "description": "Optional maximum number of scheduled runs."151 }152 },153 "required": [154 "name",155 "target",156 "schedule"157 ],158 "additionalProperties": false,159 "description": "Arguments for creating a recurring project schedule. Source-defined schedules (definition_source and the source_* fields) are created by pushing source, so this tool accepts manual schedules only.",160 "$schema": "http://json-schema.org/draft-07/schema#"161}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "format": "uuid",7 "description": "Schedule ID."8 },9 "project_id": {10 "type": "string",11 "format": "uuid",12 "description": "Owning project ID."13 },14 "name": {15 "type": "string",16 "description": "Human-readable schedule name."17 },18 "status": {19 "type": "string",20 "enum": [21 "active",22 "paused",23 "deleting"24 ],25 "description": "Schedule status."26 },27 "paused_reason": {28 "type": [29 "string",30 "null"31 ],32 "description": "System pause reason when Veryfront pauses the schedule."33 },34 "paused_at": {35 "type": [36 "string",37 "null"38 ],39 "description": "Timestamp when Veryfront paused the schedule."40 },41 "last_failure_at": {42 "type": [43 "string",44 "null"45 ],46 "description": "Timestamp of the most recent schedule failure."47 },48 "last_failure_code": {49 "type": [50 "string",51 "null"52 ],53 "description": "Most recent schedule failure code."54 },55 "last_failure_message": {56 "type": [57 "string",58 "null"59 ],60 "description": "Most recent schedule failure message."61 },62 "last_failure_run_id": {63 "anyOf": [64 {65 "type": "string",66 "format": "uuid"67 },68 {69 "type": "null",70 "description": "The last failure run id returned by the tool."71 }72 ],73 "description": "Canonical run ID for the most recent schedule failure."74 },75 "target": {76 "type": "object",77 "properties": {78 "kind": {79 "type": "string",80 "enum": [81 "task",82 "workflow",83 "agent"84 ],85 "description": "Kind of scheduled target."86 },87 "id": {88 "type": "string",89 "minLength": 1,90 "maxLength": 255,91 "description": "Target identifier. For agent schedules, this is the agent ID."92 },93 "conversation_mode": {94 "type": "string",95 "enum": [96 "create_new",97 "existing",98 "none"99 ],100 "description": "Conversation behaviour for an agent target. Defaults to none. Use create_new for an agent that delegates with invoke_agent - a run with no conversation cannot be paused for delegation. Agent targets run headlessly by default; create_new or existing creates or appends a conversation message."101 },102 "conversation_id": {103 "anyOf": [104 {105 "type": "string",106 "format": "uuid",107 "description": "Conversation identifier associated with this result."108 },109 {110 "type": "null",111 "description": "Conversation identifier associated with this result."112 }113 ],114 "description": "Existing conversation to continue. Only allowed when conversation_mode is existing, and required in that case."115 }116 },117 "required": [118 "kind",119 "id"120 ],121 "additionalProperties": false,122 "description": "Typed schedule target."123 },124 "schedule": {125 "type": "string",126 "description": "Schedule expression."127 },128 "timezone": {129 "type": "string",130 "description": "IANA timezone."131 },132 "runtime_target_kind": {133 "type": "string",134 "enum": [135 "main_branch",136 "environment",137 "preview_branch"138 ],139 "description": "Runtime target kind."140 },141 "runtime_target_environment_id": {142 "anyOf": [143 {144 "type": "string",145 "format": "uuid"146 },147 {148 "type": "null",149 "description": "The runtime target environment id returned by the tool."150 }151 ],152 "description": "Environment ID for environment schedules."153 },154 "runtime_target_branch_id": {155 "anyOf": [156 {157 "type": "string",158 "format": "uuid"159 },160 {161 "type": "null",162 "description": "The runtime target branch id returned by the tool."163 }164 ],165 "description": "Branch ID for preview branch schedules."166 },167 "config": {168 "type": "object",169 "additionalProperties": {170 "description": "Additional structured values associated with this result."171 },172 "description": "Run configuration without internal schedule target metadata."173 },174 "timeout_seconds": {175 "type": "integer",176 "description": "Per-run timeout in seconds."177 },178 "backoff_limit": {179 "type": "integer",180 "description": "Retry backoff limit."181 },182 "concurrency_policy": {183 "type": "string",184 "description": "How overlapping scheduled runs are handled."185 },186 "definition_source": {187 "type": "string",188 "enum": [189 "manual",190 "source"191 ],192 "description": "Whether the schedule is manually managed or source-defined."193 },194 "source_trigger_id": {195 "type": [196 "string",197 "null"198 ],199 "description": "Source trigger ID for source-defined schedules."200 },201 "source_path": {202 "type": [203 "string",204 "null"205 ],206 "description": "Source file path for source-defined schedules."207 },208 "source_hash": {209 "type": [210 "string",211 "null"212 ],213 "description": "Source definition hash for source-defined schedules."214 },215 "last_scheduled_at": {216 "type": [217 "string",218 "null"219 ],220 "description": "Last scheduled fire time."221 },222 "last_successful_at": {223 "type": [224 "string",225 "null"226 ],227 "description": "Last successful run time."228 },229 "health": {230 "anyOf": [231 {232 "type": "object",233 "properties": {234 "maxStalenessSeconds": {235 "type": "integer",236 "exclusiveMinimum": 0,237 "maximum": 9007199254740991238 }239 },240 "required": [241 "maxStalenessSeconds"242 ],243 "additionalProperties": false,244 "description": "Structured health details associated with this tool result."245 },246 {247 "type": "null",248 "description": "The health returned by the tool."249 }250 ],251 "description": "Optional staleness budget used for schedule health alerting."252 },253 "max_runs": {254 "anyOf": [255 {256 "type": "integer",257 "exclusiveMinimum": 0258 },259 {260 "type": "null",261 "description": "The max runs returned by the tool."262 }263 ],264 "description": "Optional maximum run count."265 },266 "run_count": {267 "type": "integer",268 "minimum": 0,269 "description": "Fire reservations counted toward the repetition limit; released reservations are subtracted."270 },271 "completed_at": {272 "type": [273 "string",274 "null"275 ],276 "description": "Completion time for finite schedules."277 },278 "created_by": {279 "anyOf": [280 {281 "type": "string",282 "format": "uuid"283 },284 {285 "type": "null",286 "description": "The created by returned by the tool."287 }288 ],289 "description": "User that created the schedule."290 },291 "integration_requirements": {292 "type": "array",293 "items": {294 "type": "object",295 "properties": {296 "integration": {297 "type": "string",298 "minLength": 1,299 "maxLength": 255,300 "pattern": "^[a-z0-9][a-z0-9_-]*$"301 },302 "required_scopes": {303 "type": "array",304 "items": {305 "type": "string",306 "minLength": 1,307 "maxLength": 255308 },309 "maxItems": 50,310 "default": []311 },312 "resources": {313 "type": "array",314 "items": {315 "type": "object",316 "properties": {317 "kind": {318 "type": "string",319 "minLength": 1,320 "maxLength": 64,321 "pattern": "^[a-z][a-z0-9_-]*$"322 },323 "id": {324 "type": "string",325 "minLength": 1,326 "maxLength": 512,327 "description": "Unique identifier for the returned record."328 },329 "parent": {330 "type": "object",331 "properties": {332 "kind": {333 "$ref": "#/properties/integration_requirements/items/properties/resources/items/properties/kind",334 "description": "The kind returned by the tool."335 },336 "id": {337 "$ref": "#/properties/integration_requirements/items/properties/resources/items/properties/id",338 "description": "Unique identifier for the returned record."339 }340 },341 "required": [342 "kind",343 "id"344 ],345 "additionalProperties": false346 }347 },348 "required": [349 "kind",350 "id"351 ],352 "additionalProperties": false353 },354 "maxItems": 50,355 "default": []356 }357 },358 "required": [359 "integration"360 ],361 "additionalProperties": false362 },363 "maxItems": 20,364 "description": "OAuth scopes and exact provider resources required before the schedule can run.",365 "default": []366 },367 "created_at": {368 "type": "string",369 "description": "Creation timestamp."370 },371 "updated_at": {372 "type": "string",373 "description": "Last update timestamp."374 }375 },376 "required": [377 "id",378 "project_id",379 "name",380 "status",381 "paused_reason",382 "paused_at",383 "last_failure_at",384 "last_failure_code",385 "last_failure_message",386 "last_failure_run_id",387 "target",388 "schedule",389 "timezone",390 "runtime_target_kind",391 "runtime_target_environment_id",392 "runtime_target_branch_id",393 "config",394 "timeout_seconds",395 "backoff_limit",396 "concurrency_policy",397 "definition_source",398 "source_trigger_id",399 "source_path",400 "source_hash",401 "last_scheduled_at",402 "last_successful_at",403 "health",404 "max_runs",405 "run_count",406 "completed_at",407 "created_by",408 "created_at",409 "updated_at"410 ],411 "additionalProperties": false,412 "description": "The created active recurring project schedule for a task, workflow, or agent target.",413 "$schema": "http://json-schema.org/draft-07/schema#"414}