MCPTools
create_run
Start a run for an agent. Pass exactly one of prompt or initial_state. Omit version to use the latest active version. One-turn-at-a-time agents queue the…
Start a run for an agent.
Pass exactly one of prompt or initial_state. Omit version to use the latest active version. One-turn-at-a-time agents queue the run while another is in progress; pass queue=false to get a 409 instead.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
agent_id | string | yes | |
prompt | string | no | |
version | integer | no | |
initial_state | object | no | |
queue | boolean | no |
create_eval_case
Record an eval case: one piece of an agent's output to be judged. kind is your own name for what was decided or produced, lowercase and optionally dotted…
create_runtime
Register a self-hosted runtime and return its connection credentials. The credentials are returned once; pass them to the runner with `levain-runtime…