RunDocumentation Index
Fetch the complete documentation index at: https://docs.poolside.ai/llms.txt
Use this file to discover all available pages before exploring further.
pool exec to send a single prompt and exit when the task is complete. Use this for scripts, CI pipelines, and one-off tasks where you don’t need a back-and-forth.
For interactive work, use Interactive mode instead.
Basic usage
Pass a prompt inline:- to read from standard input when combining with other flags:
Set MCP input variables
For MCP server input variables, startpool exec with matching shell environment variables:
Run in a specific directory
By default,pool exec uses your current directory. Use -d to point it somewhere else:
Continue from a previous run
Resume from the last run:pool history logs.
Output format
By default,pool exec prints Markdown. Use -o json for newline-delimited JSON:
reasoning: Raw model reasoningthought: Assistant message texttoolCall: Tool invocations and argumentstoolCallResult: Tool resultsoauth_url: Browser authentication required
Run in automated mode
Use--unsafe-auto-allow when you want pool exec to run without approval prompts:
settings.yaml locations, see Tool permissions.