Skip to content

runs

Follow a command an agent's run left running: what it printed and how it ended.

The tool of basemodo runs, on the local MCP and the remote one. It only reads, so an agent's client may run it without asking you.

run, called by an agent, answers within 45 seconds; a command still running then goes on, and run answers its id. This reads that command by its id: it waits for it to end, then prints what it printed and exits as it did (124 when it ran past its timeout). Only the person whose agent ran it reads it, for 15 minutes once it ended; Basemodo keeps the last 64 KB of its stdout and of its stderr.

Arguments

  • id (text, required): The run's id, as run answered it while the command still ran.
  • app (text): The App it runs in. Default: the one named after the current folder.

On the remote MCP

  • app is required on the remote MCP, which has no folder of yours to find the App from.

Answer

It answers what run prints with --json. Run by an agent, it waits at most 45 seconds, as run does: a command still running then answers what it printed so far, "running": true, its "id" and "next"; call runs again until it ends. An id of another App or another person, or one ended more than 15 minutes ago, is an error with code run_not_found.