cueport
v0.1.0CueAPI agent-work scheduling: cues, executions, claiming, heartbeats, and outcomes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cueapi_create_cue
Create a recurring (cron) or one-time (at) cue in CueAPI.
| Parameter | Type | Description |
|---|---|---|
name * | string | Cue name. |
schedule * | string | Schedule expression, such as a cron expression for a recurring cue or an at time for a one-time cue. |
callback_url | string | Callback URL invoked when the cue fires. |
default_payload | object | Default payload object sent when the cue fires. |
description | string | Description of the cue. |
method | string | HTTP method for the callback request. |
platform | string | Platform associated with the cue. |
require_payload_override | boolean | Whether firing the cue requires a payload override. |
required_payload_keys | array | List of payload keys required for the cue. |
task_name | string | Task name associated with the cue. |
timezone | string | Timezone in which the schedule is evaluated, such as UTC. |
cueapi_list_cues
List cues, optionally filtered by status.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of cues to return. |
status | string | Cue status to filter by, such as active or paused. |
cueapi_get_cue
Fetch details for a single cue by id.
| Parameter | Type | Description |
|---|---|---|
cue_id * | string | Cue identifier. |
cueapi_fire_cue
Fire an existing cue immediately, with an optional payload override and merge strategy (merge or replace, default merge).
| Parameter | Type | Description |
|---|---|---|
cue_id * | string | Cue identifier. |
merge_strategy | string | How the payload override combines with the default payload: merge or replace, default merge. |
payload_override | object | Payload object to use for this firing, overriding the cue's default payload. |
cueapi_update_cue
Update a cue's mutable fields (name, schedule, callback, payload, etc.). Sparse: only provided fields are sent.
| Parameter | Type | Description |
|---|---|---|
cue_id * | string | Cue identifier. |
callback_url | string | Callback URL invoked when the cue fires. |
default_payload | object | Default payload object sent when the cue fires. |
description | string | Description of the cue. |
method | string | HTTP method for the callback request. |
name | string | Cue name. |
platform | string | Platform associated with the cue. |
require_payload_override | boolean | Whether firing the cue requires a payload override. |
required_payload_keys | array | List of payload keys required for the cue. |
schedule | string | Schedule expression, such as a cron expression for a recurring cue or an at time for a one-time cue. |
task_name | string | Task name associated with the cue. |
timezone | string | Timezone in which the schedule is evaluated, such as UTC. |
cueapi_pause_cue
Pause a cue so it stops firing.
| Parameter | Type | Description |
|---|---|---|
cue_id * | string | Cue identifier. |
cueapi_resume_cue
Resume a paused cue.
| Parameter | Type | Description |
|---|---|---|
cue_id * | string | Cue identifier. |
cueapi_delete_cue
Delete a cue permanently.
| Parameter | Type | Description |
|---|---|---|
cue_id * | string | Cue identifier. |
cueapi_list_executions
List historical executions, optionally filtered by cue and status.
| Parameter | Type | Description |
|---|---|---|
cue_id | string | Cue identifier to filter by. |
limit | integer | Maximum number of executions to return. |
status | string | Execution status to filter by. |
cueapi_get_execution
Fetch a single execution by id, with state and outcome.
| Parameter | Type | Description |
|---|---|---|
execution_id * | string | Execution identifier. |
cueapi_list_claimable_executions
List unclaimed worker executions, filtered server-side by task and agent.
| Parameter | Type | Description |
|---|---|---|
agent | string | Agent name to filter claimable executions by. |
limit | integer | Maximum number of claimable executions to return. |
task | string | Task name to filter claimable executions by. |
cueapi_claim_execution
Atomically claim a specific execution for processing.
| Parameter | Type | Description |
|---|---|---|
execution_id * | string | Execution identifier. |
worker_id | string | Identifier of the claiming worker. |
cueapi_claim_next_execution
Claim the next available execution, optionally filtered by task name.
| Parameter | Type | Description |
|---|---|---|
task_name | string | Task name to filter claimable executions by. |
worker_id | string | Identifier of the claiming worker. |
cueapi_execution_heartbeat
Extend the claim lease on an in-flight execution. worker_id is required and is sent via the X-Worker-Id header.
| Parameter | Type | Description |
|---|---|---|
execution_id * | string | Execution identifier. |
worker_id * | string | Identifier of the worker holding the claim, sent via the X-Worker-Id header. |
cueapi_report_outcome
Report a write-once outcome for an execution, with evidence (external id, result URL, or summary).
| Parameter | Type | Description |
|---|---|---|
execution_id * | string | Execution identifier. |
outcome * | string | Outcome of the execution, such as succeeded. |
external_id | string | External identifier associated with the outcome as evidence. |
result_type | string | Type of the execution result. |
result_url | string | URL of the execution result. |
summary | string | Summary of the execution outcome. |