Update agent push runtime service

veryfront__update_agent_push_runtime_service

Requires project.runtime.manage.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
project_referencestringNoProject that owns the service. A source project may drain its shared runtime grant using its own project reference. Only a project service is found; a global service answers not_found. Minimum length: 1.
service_idstringYesRuntime service to change. Draining stops selection for new work and, for managed source connections, revokes queued and child dispatch; either project may revoke. Resuming re-enables selection; managed source connections require project.runtime.manage in both projects. Format: uuid.
availabilitystringYesactive makes the runtime service available for selection; drained stops selecting it for new work. For a managed source connection, drained also revokes queued and child dispatch. Values: "active", "drained".

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__update_agent_push_runtime_service",    "arguments": {      "service_id": "00000000-0000-4000-8000-000000000000",      "availability": "active"    }  }}

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 returned record. Format: uuid.
service_namestringYes
service_keystringYes
scope_kindstringYesValues: "global", "project".
project_idstring or nullYesProject identifier associated with this result.
availabilitystringYesValues: "active", "drained".
connection_statusstringYesValues: "online", "offline", "disabled".
runtimestring or nullYes
regionstring or nullYes
last_seen_atstring or nullYesTime of the last heartbeat, or null before the first one.

Full schemas

input-schema.json
{  "type": "object",  "properties": {    "project_reference": {      "type": "string",      "minLength": 1,      "description": "Project that owns the service. A source project may drain its shared runtime grant using its own project reference. Only a project service is found; a global service answers not_found."    },    "service_id": {      "type": "string",      "format": "uuid",      "description": "Runtime service to change. Draining stops selection for new work and, for managed source connections, revokes queued and child dispatch; either project may revoke. Resuming re-enables selection; managed source connections require project.runtime.manage in both projects."    },    "availability": {      "type": "string",      "enum": [        "active",        "drained"      ],      "description": "active makes the runtime service available for selection; drained stops selecting it for new work. For a managed source connection, drained also revokes queued and child dispatch."    }  },  "required": [    "service_id",    "availability"  ],  "additionalProperties": false,  "description": "Arguments for the update_agent_push_runtime_service tool.",  "$schema": "http://json-schema.org/draft-07/schema#"}
output-schema.json
{  "type": "object",  "properties": {    "id": {      "type": "string",      "format": "uuid",      "description": "Unique identifier for the returned record."    },    "service_name": {      "type": "string"    },    "service_key": {      "type": "string"    },    "scope_kind": {      "type": "string",      "enum": [        "global",        "project"      ]    },    "project_id": {      "anyOf": [        {          "type": "string",          "format": "uuid",          "description": "Project identifier associated with this result."        },        {          "type": "null",          "description": "Project identifier associated with this result."        }      ],      "description": "Project identifier associated with this result."    },    "availability": {      "type": "string",      "enum": [        "active",        "drained"      ]    },    "connection_status": {      "type": "string",      "enum": [        "online",        "offline",        "disabled"      ]    },    "runtime": {      "type": [        "string",        "null"      ]    },    "region": {      "type": [        "string",        "null"      ]    },    "last_seen_at": {      "type": [        "string",        "null"      ],      "description": "Time of the last heartbeat, or null before the first one."    }  },  "required": [    "id",    "service_name",    "service_key",    "scope_kind",    "project_id",    "availability",    "connection_status",    "runtime",    "region",    "last_seen_at"  ],  "additionalProperties": false,  "description": "Structured result returned by the update_agent_push_runtime_service tool.",  "$schema": "http://json-schema.org/draft-07/schema#"}