Skip to main content
Glama

Continue Codex session

codex_continue

Resume an existing Codex session by sending a follow-up prompt. The session retains its original sandbox and model from the prior ask.

Instructions

Continue the Codex session rooted at this workspace (codex exec resume).

Resumes the exact session id captured from the last codex_ask in this workspace, falling back to the newest on-disk session whose recorded cwd matches (so it still works after a server restart). The resumed session keeps its original sandbox and model — those are chosen when you start it with codex_ask.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
watchNoIf true, open the live "watch" view streaming codex's steps as it works (same viewer as codex_ask). Default false.
promptYesFollow-up message for the existing session.
timeout_sNoMax seconds to wait for codex to complete. Default 180.
workspaceNoWorking root used by the prior session. Defaults to the server cwd.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds valuable behavioral context beyond annotations: it explains session resumption logic, fallback behavior, and that the session keeps its original sandbox and model. No contradictions with annotations (readOnlyHint=false, idempotentHint=false, openWorldHint=true) are present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, with two short paragraphs. The first sentence front-loads the primary purpose. Every sentence adds value, with no redundant or irrelevant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 parameters, 1 required), schema coverage (100%), and the presence of an output schema, the description covers all key aspects: session identification, fallback, behavior after restart, and preservation of original settings. It is complete for an agent to correctly invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description does not add significant extra meaning for parameters beyond what is already in the input schema schema. It provides context around workspace defaults and timeout, but these are already described in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool continues an existing Codex session, using a specific command (`codex exec resume`). It distinguishes from sibling tools like codex_ask (which starts a session) and codex_status (status check), and explains the fallback behavior for session identification.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains when to use this tool (after codex_ask, to continue a session) and includes practical details like fallback after server restart. It does not explicitly state when not to use it or mention alternatives, but the context is clear enough for an agent to infer appropriate usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SinanTufekci/agent-intern'

If you have feedback or need assistance with the MCP directory API, please join our Discord server