codecodebase analysis / test runner

Test Runner

test_runner

Run an allowlisted local test, lint, build, or typecheck command with a bounded timeout. Requires confirm_execute=true because it executes project scripts.

How to use test_runner

Provide only the required inputs below. Start with the smallest scope that answers the task, then review the risk properties before an agent executes the call.

Risk and execution properties

Read only: no

Destructive: yes

Idempotent: no

Open world: no — operates locally or through configured services

Inputs

pathstring
taskstringrequired

Allowed: "test""lint""build""typecheck"

timeout_secondsinteger

Default: 120

confirm_executeboolean

Default: false

Example input

{
  "path": "<string>",
  "task": "test",
  "timeout_seconds": 120,
  "confirm_execute": false
}

Browse or search the full 74-tool reference to choose the smallest suitable capability.

Browse all tools →