read_version_file
Read one file from a version's recipe source, whole or in parts. ``offset`` is the 1-based line to start at and ``limit`` the number of lines to read. With…
Read one file from a version's recipe source, whole or in parts.
offset is the 1-based line to start at and limit the number of lines to
read. With neither, a file that fits in one reply comes back whole as
{path, content}. Otherwise the reply holds whole lines up to about 50,000
characters of serialized JSON, so it fits one tool result, and adds
start_line, end_line, total_lines, total_chars and truncated; when
truncated is true, read on from end_line + 1. A single line too long for one
reply is cut to fit and counted as end_line; the rest of that line is not
returned by this tool, including on a later call. list_version_files gives
each file's size before reading.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
agent_id | string | yes | |
version | integer | yes | |
path | string | yes | |
offset | integer | no | |
limit | integer | no |
publish_version
Publish a verified draft version, making it the agent's active one. Requires a green verification verdict; run `verify_version` first. For an org agent…
resume_schedule
Resume a paused schedule. Clears an automatic pause too, so a schedule Levain paused on a limit retries at its next match instead of waiting for resume_at.