Server definition
- Hash
- sha256:44f8442f19ac10ee5a53e54964f80a4558f62fe9f4ccc706518218ef9ace9e7e
- What it is
- What a remote MCP server returned when asked what it offers: 18 tools
The blob, as servednamed by its sha256
{
"instructions": null,
"tools": [
{
"description": "Delegate a job to the Crevio agent and wait for the result. The agent works your account through the Crevio API and every connected integration (products, customers, orders, email, socials, sites, research) and replies in `result`. Each job is a full agent run that takes from half a minute to several minutes, so use it for work that needs judgement or writing. If the run is still going when the wait ends, the reply has wait_timed_out: true — then call wait_for_run with its id and never call ask_crevio again, which would do the job twice. Run ids do not expire, and only the user who started a run can read it.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"approval_mode": {
"description": "autonomous (default) acts without review; supervised pauses in needs_input for your approval before each gated write (pending_approval_ids) and otherwise finishes with its proposal; read_only forbids writes.",
"enum": [
"autonomous",
"supervised",
"read_only"
],
"type": "string"
},
"idempotency_key": {
"description": "Always pass one, unique to this request. Retrying with the same key within an hour returns the run the first call started instead of doing the job twice.",
"maxLength": 255,
"type": "string"
},
"message": {
"description": "What you want done, in natural language, with all the context needed — the agent does not see your conversation.",
"maxLength": 10000,
"type": "string"
},
"speed": {
"description": "faster thinks less, for simple jobs where latency matters more than depth; smarter (default) thinks it through.",
"enum": [
"faster",
"smarter"
],
"type": "string"
},
"timeout_seconds": {
"description": "How long to wait for the run to finish before returning. Defaults to, and is capped at, 300 s when your client accepts a streamed reply (text/event-stream), 90 s otherwise. The run keeps going when the wait ends first.",
"maximum": 300,
"minimum": 0,
"type": "integer"
}
},
"required": [
"message"
],
"type": "object"
},
"name": "ask_crevio",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A task run — one delegated job and what is known about its state.",
"properties": {
"chat_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"credits_consumed": {
"type": "integer"
},
"error_message": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "task_run",
"type": "string"
},
"pending_approval_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"result": {
"type": [
"string",
"null"
]
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"running",
"completed",
"failed",
"needs_input",
"timed_out",
"unknown",
"skipped"
],
"type": "string"
},
"summary": {
"type": [
"string",
"null"
]
},
"task_id": {
"type": "string"
},
"task_name": {
"type": [
"string",
"null"
]
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"task_id",
"status",
"created_at"
],
"type": "object"
}
},
{
"description": "Stop a run that is pending, running, or waiting for input. The run is finalized as failed with 'Cancelled by the caller'.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"run_id": {
"description": "A run id (trun_...).",
"type": "string"
}
},
"required": [
"run_id"
],
"type": "object"
},
"name": "cancel_run",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A task run — one delegated job and what is known about its state.",
"properties": {
"chat_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"credits_consumed": {
"type": "integer"
},
"error_message": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "task_run",
"type": "string"
},
"pending_approval_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"result": {
"type": [
"string",
"null"
]
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"running",
"completed",
"failed",
"needs_input",
"timed_out",
"unknown",
"skipped"
],
"type": "string"
},
"summary": {
"type": [
"string",
"null"
]
},
"task_id": {
"type": "string"
},
"task_name": {
"type": [
"string",
"null"
]
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"task_id",
"status",
"created_at"
],
"type": "object"
}
},
{
"description": "Cancel a script run that has not started yet. A running script runs to its end or its timeout.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"run_id": {
"description": "A script run id (srun_...).",
"type": "string"
}
},
"required": [
"run_id"
],
"type": "object"
},
"name": "cancel_script_run",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "One script run on the account's computer.",
"properties": {
"calls": {
"description": "Every tool call the script made, in order.",
"items": {
"properties": {
"error_code": {
"type": "string"
},
"read_only": {
"type": "boolean"
},
"role": {
"type": "string"
},
"status": {
"type": "integer"
}
},
"required": [
"role"
],
"type": "object"
},
"type": "array"
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"error": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "script_run",
"type": "string"
},
"output": {
"description": "What the script printed (the last 64,000 characters).",
"type": [
"string",
"null"
]
},
"result": {
"description": "The script's last expression, as JSON."
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"queued",
"in_progress",
"completed",
"failed",
"cancelled",
"timed_out"
],
"type": "string"
},
"timeout_seconds": {
"type": "integer"
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"status",
"calls",
"timeout_seconds",
"created_at"
],
"type": "object"
}
},
{
"description": "Get a chat's title, kind, and latest run.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"chat_id": {
"description": "A chat id (aichat_...). A run id works too — it resolves to that run's chat.",
"type": "string"
}
},
"required": [
"chat_id"
],
"type": "object"
},
"name": "get_chat",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A chat — one conversation with the agent, across however many runs it took.",
"properties": {
"context_type": {
"enum": [
"general",
"ai_builder",
"customer_support",
"onboarding",
null
],
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"id": {
"type": "string"
},
"latest_run_id": {
"type": [
"string",
"null"
]
},
"object": {
"const": "chat",
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"updated_at": {
"format": "date-time",
"type": "string"
}
},
"required": [
"object",
"id",
"created_at"
],
"type": "object"
}
},
{
"description": "Fetch a run's current status, summary, pending approvals, and (once settled) the agent's final reply.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"run_id": {
"description": "A run id (trun_...).",
"type": "string"
}
},
"required": [
"run_id"
],
"type": "object"
},
"name": "get_run",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A task run — one delegated job and what is known about its state.",
"properties": {
"chat_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"credits_consumed": {
"type": "integer"
},
"error_message": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "task_run",
"type": "string"
},
"pending_approval_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"result": {
"type": [
"string",
"null"
]
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"running",
"completed",
"failed",
"needs_input",
"timed_out",
"unknown",
"skipped"
],
"type": "string"
},
"summary": {
"type": [
"string",
"null"
]
},
"task_id": {
"type": "string"
},
"task_name": {
"type": [
"string",
"null"
]
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"task_id",
"status",
"created_at"
],
"type": "object"
}
},
{
"description": "Read a script run's status, and its result once it has finished.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"run_id": {
"description": "A script run id (srun_...).",
"type": "string"
}
},
"required": [
"run_id"
],
"type": "object"
},
"name": "get_script_run",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "One script run on the account's computer.",
"properties": {
"calls": {
"description": "Every tool call the script made, in order.",
"items": {
"properties": {
"error_code": {
"type": "string"
},
"read_only": {
"type": "boolean"
},
"role": {
"type": "string"
},
"status": {
"type": "integer"
}
},
"required": [
"role"
],
"type": "object"
},
"type": "array"
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"error": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "script_run",
"type": "string"
},
"output": {
"description": "What the script printed (the last 64,000 characters).",
"type": [
"string",
"null"
]
},
"result": {
"description": "The script's last expression, as JSON."
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"queued",
"in_progress",
"completed",
"failed",
"cancelled",
"timed_out"
],
"type": "string"
},
"timeout_seconds": {
"type": "integer"
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"status",
"calls",
"timeout_seconds",
"created_at"
],
"type": "object"
}
},
{
"description": "List the account's chats, newest first.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ending_before": {
"description": "Return the page before this id — the first id from the previous page.",
"type": "string"
},
"limit": {
"description": "Default 20.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"search": {
"description": "Only chats whose title matches.",
"type": "string"
},
"starting_after": {
"description": "Return the page after this id — the last id from the previous page.",
"type": "string"
}
},
"type": "object"
},
"name": "list_chats",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A page of chats, newest first.",
"properties": {
"data": {
"items": {
"description": "A chat — one conversation with the agent, across however many runs it took.",
"properties": {
"context_type": {
"enum": [
"general",
"ai_builder",
"customer_support",
"onboarding",
null
],
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"id": {
"type": "string"
},
"latest_run_id": {
"type": [
"string",
"null"
]
},
"object": {
"const": "chat",
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"updated_at": {
"format": "date-time",
"type": "string"
}
},
"required": [
"object",
"id",
"created_at"
],
"type": "object"
},
"type": "array"
},
"has_more": {
"type": "boolean"
},
"object": {
"const": "list",
"type": "string"
}
},
"required": [
"object",
"data",
"has_more"
],
"type": "object"
}
},
{
"description": "List one namespace's functions — the name a script calls, its parameters, whether it only reads, whether it needs approval, and a snippet run_script accepts. crevioApi has hundreds of operations: narrow it with `search`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"description": "Default 10.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"namespace": {
"description": "A namespace from list_integrations, e.g. crevioApi or pdGmail.",
"type": "string"
},
"offset": {
"description": "Skip this many matches — the count already seen.",
"minimum": 0,
"type": "integer"
},
"search": {
"description": "Only functions whose name or description matches every word.",
"type": "string"
}
},
"required": [
"namespace"
],
"type": "object"
},
"name": "list_integration_tools",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"data": {
"items": {
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"disabled": {
"type": "boolean"
},
"name": {
"description": "What a script calls: tools.<namespace>.<function>.",
"type": "string"
},
"parameters": {
"description": "The argument object, as a TypeScript type.",
"type": "string"
},
"read_only": {
"type": "boolean"
},
"requires_approval": {
"description": "A script cannot ask for approval, so calling it fails unless the account sets it to run automatically.",
"type": "boolean"
},
"returns": {
"description": "What a read resolves to, as a TypeScript type; objects past two levels show as Record<string, unknown>.",
"type": "string"
},
"snippet": {
"description": "A script run_script accepts as-is once the placeholders are filled.",
"type": "string"
}
},
"required": [
"name",
"parameters",
"read_only",
"requires_approval",
"disabled",
"snippet"
],
"type": "object"
},
"type": "array"
},
"has_more": {
"type": "boolean"
},
"object": {
"const": "list",
"type": "string"
}
},
"required": [
"object",
"data",
"has_more"
],
"type": "object"
}
},
{
"description": "List what a script can call: the Crevio API (crevioApi), Crevio's own tools (platform), and every integration you can use, each as a namespace under `tools`, plus the account's other connected apps and their status. Then list a namespace's functions with list_integration_tools.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "list_integrations",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"data": {
"items": {
"properties": {
"kind": {
"enum": [
"native",
"crevio_api",
"connection",
"public"
],
"type": "string"
},
"label": {
"description": "Which connected account, when the app is connected more than once or personally.",
"type": [
"string",
"null"
]
},
"namespace": {
"description": "The module a script calls it through: tools.<namespace>.<function>.",
"type": "string"
},
"tool_count": {
"type": "integer"
}
},
"required": [
"namespace",
"kind",
"tool_count"
],
"type": "object"
},
"type": "array"
},
"object": {
"const": "list",
"type": "string"
},
"other_connections": {
"description": "Connected apps without a namespace of their own: expired ones need reconnecting in Crevio, social accounts are reached through crevioApi, and the rest serve Crevio itself (Slack for chat, GitHub for sites).",
"items": {
"properties": {
"app": {
"type": "string"
},
"label": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
}
},
"required": [
"app",
"status"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"object",
"data",
"other_connections"
],
"type": "object"
}
},
{
"description": "Read a chat's messages, oldest first. Returns the most recent `limit` messages; page back through older ones with starting_after.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"chat_id": {
"description": "A chat id (aichat_...). A run id works too — it resolves to that run's chat.",
"type": "string"
},
"ending_before": {
"description": "Return the messages older than this id — the first id of the previous page. Paging walks backwards through history, since the default page is the tail.",
"type": "string"
},
"limit": {
"description": "Default 50.",
"maximum": 200,
"minimum": 1,
"type": "integer"
}
},
"required": [
"chat_id"
],
"type": "object"
},
"name": "list_messages",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A page of conversation messages, oldest first.",
"properties": {
"data": {
"items": {
"description": "One message in a run's conversation.",
"properties": {
"content": {
"type": "string"
},
"created_at": {
"format": "date-time",
"type": "string"
},
"id": {
"type": "string"
},
"role": {
"enum": [
"user",
"assistant"
],
"type": "string"
}
},
"required": [
"id",
"role",
"content",
"created_at"
],
"type": "object"
},
"type": "array"
},
"has_more": {
"type": "boolean"
},
"object": {
"const": "list",
"type": "string"
}
},
"required": [
"object",
"data",
"has_more"
],
"type": "object"
}
},
{
"description": "List the account's task runs, newest first — delegated jobs and scheduled tasks alike. Filter by status or task.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ending_before": {
"description": "Return the page before this id — the first id from the previous page.",
"type": "string"
},
"limit": {
"description": "Default 20.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"starting_after": {
"description": "Return the page after this id — the last id from the previous page.",
"type": "string"
},
"status": {
"description": "Only runs in this state.",
"enum": [
"pending",
"running",
"completed",
"failed",
"needs_input",
"timed_out",
"unknown",
"skipped"
],
"type": "string"
},
"task_id": {
"description": "Only runs of this task (task_...).",
"type": "string"
}
},
"type": "object"
},
"name": "list_runs",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A page of task runs, newest first.",
"properties": {
"data": {
"items": {
"description": "A task run — one delegated job and what is known about its state.",
"properties": {
"chat_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"credits_consumed": {
"type": "integer"
},
"error_message": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "task_run",
"type": "string"
},
"pending_approval_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"result": {
"type": [
"string",
"null"
]
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"running",
"completed",
"failed",
"needs_input",
"timed_out",
"unknown",
"skipped"
],
"type": "string"
},
"summary": {
"type": [
"string",
"null"
]
},
"task_id": {
"type": "string"
},
"task_name": {
"type": [
"string",
"null"
]
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"task_id",
"status",
"created_at"
],
"type": "object"
},
"type": "array"
},
"has_more": {
"type": "boolean"
},
"object": {
"const": "list",
"type": "string"
}
},
"required": [
"object",
"data",
"has_more"
],
"type": "object"
}
},
{
"description": "Approve or deny the integration actions a run is paused on (status needs_input with pending_approval_ids). Submit a decision for every pending id at once; the run resumes in the background.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"approvals": {
"description": "One decision per pending approval id — the run stays paused until every one is answered.",
"items": {
"properties": {
"approved": {
"description": "True to let the action run, false to deny it.",
"type": "boolean"
},
"id": {
"description": "A pending approval id from the run's pending_approval_ids.",
"type": "string"
},
"reason": {
"description": "Why it was denied (optional).",
"type": "string"
}
},
"required": [
"id",
"approved"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"run_id": {
"description": "A run id (trun_...).",
"type": "string"
}
},
"required": [
"run_id",
"approvals"
],
"type": "object"
},
"name": "resolve_approvals",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A task run — one delegated job and what is known about its state.",
"properties": {
"chat_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"credits_consumed": {
"type": "integer"
},
"error_message": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "task_run",
"type": "string"
},
"pending_approval_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"result": {
"type": [
"string",
"null"
]
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"running",
"completed",
"failed",
"needs_input",
"timed_out",
"unknown",
"skipped"
],
"type": "string"
},
"summary": {
"type": [
"string",
"null"
]
},
"task_id": {
"type": "string"
},
"task_name": {
"type": [
"string",
"null"
]
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"task_id",
"status",
"created_at"
],
"type": "object"
}
},
{
"description": "Run JavaScript on the account's computer with bun — no agent turn — and wait for its result. `tools.<namespace>.<function>(args)` calls anything list_integration_tools shows (every call returns its result and throws on failure; top-level await works), and the script's last expression is its result. Chain calls and transform data in one run, e.g. `const { data } = await tools.crevioApi.listOrders({ status: \"succeeded\" }); data.length`. Runs as you, and only for account admins. If the wait ends first the reply has wait_timed_out: true and the run id: continue with wait_for_script_run — calling run_script again runs it twice unless you reuse the idempotency_key. Run ids do not expire, and only the user who started a run can read it. At most 4 runs in flight per user.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"description": "The JavaScript to run.",
"maxLength": 100000,
"type": "string"
},
"idempotency_key": {
"description": "Always pass one, unique to this request. Retrying with the same key within an hour returns the run the first call started instead of doing the job twice.",
"maxLength": 255,
"type": "string"
},
"timeout_seconds": {
"description": "How long the script may run (default 300).",
"maximum": 600,
"minimum": 1,
"type": "integer"
},
"wait_seconds": {
"description": "How long to wait for the script to finish before returning. Defaults to, and is capped at, 300 s when your client accepts a streamed reply (text/event-stream), 90 s otherwise. The script keeps going when the wait ends first.",
"maximum": 300,
"minimum": 0,
"type": "integer"
}
},
"required": [
"code"
],
"type": "object"
},
"name": "run_script",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "One script run on the account's computer.",
"properties": {
"calls": {
"description": "Every tool call the script made, in order.",
"items": {
"properties": {
"error_code": {
"type": "string"
},
"read_only": {
"type": "boolean"
},
"role": {
"type": "string"
},
"status": {
"type": "integer"
}
},
"required": [
"role"
],
"type": "object"
},
"type": "array"
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"error": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "script_run",
"type": "string"
},
"output": {
"description": "What the script printed (the last 64,000 characters).",
"type": [
"string",
"null"
]
},
"result": {
"description": "The script's last expression, as JSON."
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"queued",
"in_progress",
"completed",
"failed",
"cancelled",
"timed_out"
],
"type": "string"
},
"timeout_seconds": {
"type": "integer"
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"status",
"calls",
"timeout_seconds",
"created_at"
],
"type": "object"
}
},
{
"description": "Continue a chat with follow-up instructions or answers — the agent keeps its context. Resumes a run waiting in needs_input, or queues a new run when the last one finished. Returns run_busy while a run is still in progress. Optionally waits for the reply.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"chat_id": {
"description": "A chat id (aichat_...). A run id works too — it resolves to that run's chat.",
"type": "string"
},
"message": {
"description": "The follow-up to send into the conversation.",
"maxLength": 10000,
"type": "string"
},
"timeout_seconds": {
"description": "Seconds to wait for the reply before returning (default 0: return the new run immediately). Capped like ask_crevio's wait.",
"maximum": 300,
"minimum": 0,
"type": "integer"
}
},
"required": [
"chat_id",
"message"
],
"type": "object"
},
"name": "send_message",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A task run — one delegated job and what is known about its state.",
"properties": {
"chat_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"credits_consumed": {
"type": "integer"
},
"error_message": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "task_run",
"type": "string"
},
"pending_approval_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"result": {
"type": [
"string",
"null"
]
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"running",
"completed",
"failed",
"needs_input",
"timed_out",
"unknown",
"skipped"
],
"type": "string"
},
"summary": {
"type": [
"string",
"null"
]
},
"task_id": {
"type": "string"
},
"task_name": {
"type": [
"string",
"null"
]
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"task_id",
"status",
"created_at"
],
"type": "object"
}
},
{
"description": "Open a chat with the Crevio agent and queue a run, without waiting. Returns the run immediately — its `chat_id` is the conversation to continue with send_message. Follow the run with wait_for_run or get_run.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"approval_mode": {
"description": "autonomous (default) acts without review; supervised pauses in needs_input for your approval before each gated write (pending_approval_ids) and otherwise finishes with its proposal; read_only forbids writes.",
"enum": [
"autonomous",
"supervised",
"read_only"
],
"type": "string"
},
"idempotency_key": {
"description": "Always pass one, unique to this request. Retrying with the same key within an hour returns the run the first call started instead of doing the job twice.",
"maxLength": 255,
"type": "string"
},
"message": {
"description": "What you want done, in natural language, with all the context needed — the agent does not see your conversation.",
"maxLength": 10000,
"type": "string"
},
"speed": {
"description": "faster thinks less, for simple jobs where latency matters more than depth; smarter (default) thinks it through.",
"enum": [
"faster",
"smarter"
],
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"name": "start_chat",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A task run — one delegated job and what is known about its state.",
"properties": {
"chat_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"credits_consumed": {
"type": "integer"
},
"error_message": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "task_run",
"type": "string"
},
"pending_approval_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"result": {
"type": [
"string",
"null"
]
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"running",
"completed",
"failed",
"needs_input",
"timed_out",
"unknown",
"skipped"
],
"type": "string"
},
"summary": {
"type": [
"string",
"null"
]
},
"task_id": {
"type": "string"
},
"task_name": {
"type": [
"string",
"null"
]
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"task_id",
"status",
"created_at"
],
"type": "object"
}
},
{
"description": "Wait for a run to settle (completed, failed, or needs_input) and return it with the agent's final reply. If it is still running when the wait ends, the reply has wait_timed_out: true — call wait_for_run again.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"run_id": {
"description": "A run id (trun_...).",
"type": "string"
},
"timeout_seconds": {
"description": "How long to wait for the run to finish before returning. Defaults to, and is capped at, 300 s when your client accepts a streamed reply (text/event-stream), 90 s otherwise. The run keeps going when the wait ends first.",
"maximum": 300,
"minimum": 0,
"type": "integer"
}
},
"required": [
"run_id"
],
"type": "object"
},
"name": "wait_for_run",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A task run — one delegated job and what is known about its state.",
"properties": {
"chat_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"credits_consumed": {
"type": "integer"
},
"error_message": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "task_run",
"type": "string"
},
"pending_approval_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"result": {
"type": [
"string",
"null"
]
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"running",
"completed",
"failed",
"needs_input",
"timed_out",
"unknown",
"skipped"
],
"type": "string"
},
"summary": {
"type": [
"string",
"null"
]
},
"task_id": {
"type": "string"
},
"task_name": {
"type": [
"string",
"null"
]
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"task_id",
"status",
"created_at"
],
"type": "object"
}
},
{
"description": "Wait for a script run to finish and return its result. If it is still running when the wait ends, the reply has wait_timed_out: true — call again.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"run_id": {
"description": "A script run id (srun_...).",
"type": "string"
},
"wait_seconds": {
"description": "How long to wait for the script to finish before returning. Defaults to, and is capped at, 300 s when your client accepts a streamed reply (text/event-stream), 90 s otherwise. The script keeps going when the wait ends first.",
"maximum": 300,
"minimum": 0,
"type": "integer"
}
},
"required": [
"run_id"
],
"type": "object"
},
"name": "wait_for_script_run",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "One script run on the account's computer.",
"properties": {
"calls": {
"description": "Every tool call the script made, in order.",
"items": {
"properties": {
"error_code": {
"type": "string"
},
"read_only": {
"type": "boolean"
},
"role": {
"type": "string"
},
"status": {
"type": "integer"
}
},
"required": [
"role"
],
"type": "object"
},
"type": "array"
},
"completed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"created_at": {
"format": "date-time",
"type": "string"
},
"error": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"object": {
"const": "script_run",
"type": "string"
},
"output": {
"description": "What the script printed (the last 64,000 characters).",
"type": [
"string",
"null"
]
},
"result": {
"description": "The script's last expression, as JSON."
},
"reused": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"queued",
"in_progress",
"completed",
"failed",
"cancelled",
"timed_out"
],
"type": "string"
},
"timeout_seconds": {
"type": "integer"
},
"wait_timed_out": {
"description": "The wait ended first. The work is still running: follow it with the tool next_step names.",
"type": "boolean"
}
},
"required": [
"object",
"id",
"status",
"calls",
"timeout_seconds",
"created_at"
],
"type": "object"
}
},
{
"description": "Identify the account, user, and credential behind this connection, with plan, credit balance, rate limits, and the tools available. Only needed to troubleshoot the connection or check credits and limits — other tools already act on this account.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "whoami",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "The account, user, and credential behind this connection, with the limits that apply to it.",
"properties": {
"account": {
"description": "The account every tool call is scoped to.",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"slug": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"type": "object"
},
"credential": {
"description": "How this connection authenticated.",
"properties": {
"expires_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"api_key",
"oauth"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"credits": {
"type": "number"
},
"limits": {
"description": "Bounds the delegation tools enforce.",
"properties": {
"ask_timeout_default_seconds": {
"type": "integer"
},
"ask_timeout_max_seconds": {
"description": "Longer when this connection accepts a streamed reply.",
"type": "integer"
},
"message_max_chars": {
"type": "integer"
}
},
"required": [
"ask_timeout_default_seconds",
"ask_timeout_max_seconds",
"message_max_chars"
],
"type": "object"
},
"object": {
"const": "whoami",
"type": "string"
},
"plan": {
"type": "string"
},
"rate_limit": {
"description": "The API rate limit this credential is subject to.",
"properties": {
"limit": {
"type": "integer"
},
"window_seconds": {
"type": "integer"
}
},
"required": [
"limit",
"window_seconds"
],
"type": "object"
},
"tools": {
"items": {
"type": "string"
},
"type": "array"
},
"user": {
"properties": {
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"email"
],
"type": [
"object",
"null"
]
}
},
"required": [
"object",
"account",
"credential",
"plan",
"credits",
"tools"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:44f8442f19ac10ee5a53e54964f80a4558f62fe9f4ccc706518218ef9ace9e7e | sha256sum