Skip to main content
Glama

opencode_reply

Destructive

Send a follow-up prompt to an existing session ID to continue an ongoing coding conversation without restarting.

Instructions

Send a follow-up message to an existing session. Use this to continue a conversation started with opencode_ask or opencode_session_create.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentNoAgent to use
formatNoResponse format: plain text or JSON constrained by a JSON Schema. JSON Schema requires OpenCode permission for the StructuredOutput tool.
promptYesThe follow-up message
modelIDNoModel ID
variantNoModel variant
directoryNoAbsolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory.
sessionIdYesSession ID to reply in
providerIDNoProvider ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
textYes
isErrorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the agent knows this is a mutating operation. The description adds little beyond the name, only restating 'follow-up message to an existing session.' It does not explain side effects, append behavior, or auth/rate limits. With annotations present, a score of 3 reflects that it adds minimal contextual value.

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?

Two concise sentences: the first states the purpose, the second gives usage context. Every word earns its place and the key action is front-loaded.

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

Completeness4/5

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

With an output schema present, annotations covering side effects, and full parameter descriptions, the description fills the remaining gap by linking to sibling tools. It is complete enough for correct invocation, though it could optionally mention that it appends to conversation history, but that is implied by the destructive hint.

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%—each of the 8 parameters has a clear description in the schema. The tool description does not add any parameter-specific meaning beyond what the schema already provides, so the baseline of 3 is appropriate.

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 states a specific action—'send a follow-up message to an existing session'—and explicitly ties it to conversation starters (opencode_ask, opencode_session_create). This clearly distinguishes it from sibling tools like opencode_session_create or opencode_message_send.

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?

It provides clear usage context: 'Use this to continue a conversation started with opencode_ask or opencode_session_create.' This tells the agent when to use it, though it does not enumerate alternatives or exclusions, so it earns a 4 rather than a 5.

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

Deploy Server

Other Tools