get_config
Fetch the resolved audit configuration from an interactive setup, reporting whether the user has submitted the configuration page and returning the config when ready.
Instructions
Fetch the resolved audit configuration, or report that the user has not submitted the configuration page yet.
Requires start_config to have been called first. Every response carries
a "status" field, and it is the only field worth branching on:
- "configured": the configuration is resolved and is in the response's
"config" and "selected_domain_ids". Stop calling this tool.
- "waiting": the interactive page is up and nobody has submitted it
yet. This is NOT a failure and NOT a configuration. Tell the user the
audit is waiting on them at the "url" in the response, then CALL THIS
TOOL AGAIN. Keep calling it while the status says "waiting".
- a raised error: the run's overall deadline (timeout_s) elapsed with
no submission. Tell the user the audit is not proceeding. Never fall
back to a domain selection nobody chose.
In preset mode the configuration is already known and comes back as
"configured" on the first call.
This tool deliberately blocks for at most a short interval per call
(about 25 seconds) and then returns "waiting", rather than holding one
call open for the whole of timeout_s. Hosts impose their own per-tool
timeouts, independent of timeout_s (Codex has
mcp_servers.<name>.tool_timeout_sec), and a call held open past one of
those is cancelled by the host, which can take the whole MCP process
and this run's configuration page down with it (issue #85). timeout_s
remains
the run's overall waiting budget and is enforced here, cumulatively,
across however many calls it takes: it is measured from the moment the
page opened, so polling more often does not buy the user more time, and
polling less often does not cost them any. To keep waiting past the
deadline, call again with a larger timeout_s; that is an explicit
decision to extend, not a silent one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||