Skip to main content
Glama

Lanzar tarea OpenCode en segundo plano

opencode_fire

Fire an independent OpenCode task in a project directory and receive a sessionId to track progress without waiting for completion.

Instructions

Crea una sesión y dispara una tarea sin esperar. Úsalo para tareas independientes; devuelve un sessionId para seguimiento.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentNoNombre del agente OpenCode, por ejemplo chatgpt-coordinator o chatgpt-worker.
modelNoModelo opcional con formato provider/model, por ejemplo opencode-go/deepseek-v4-pro.
titleNoTítulo de la sesión.
promptYesObjetivo completo para el agente OpenCode, incluyendo restricciones y verificación esperada.
directoryYesRuta absoluta y existente del proyecto OpenCode. Es obligatoria para tareas, sesiones y operaciones con archivos.
writeIntentNoIndica si la tarea puede modificar archivos. En paralelo, por defecto true para evitar colisiones.
Behavior3/5

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

With no annotations, the description carries the burden. It discloses the asynchronous behavior and sessionId return, which are key traits, but it omits failure behavior, permission requirements, or how to follow up (e.g., with opencode_check/status). It does not contradict the schema.

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 succinct sentences, front-loaded with the core action and return value. No wasted words, and the structure is easy to scan.

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

Completeness3/5

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

The description covers the primary purpose and return value (sessionId), but given no output schema and 6 parameters, it could mention how to use the sessionId with sibling tools or handle errors. It is adequate but leaves gaps for a background task 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 meaning beyond the schema—it describes the tool's behavior rather than parameter details, and the schema already documents all 6 parameters adequately.

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 verb ('dispara') and resource (tarea/sesión), and clearly conveys the asynchronous fire-and-forget nature ('sin esperar'), which distinguishes it from siblings like opencode_run or opencode_wait. It also mentions the sessionId return value, reinforcing its unique scope.

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 explicitly says to use it for independent tasks ('Úsalo para tareas independientes'), providing clear context. However, it does not name specific alternative tools or state when not to use it, leaving some ambiguity vs. siblings like opencode_parallel or opencode_wait.

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/jdsalasca/mcp-opencode'

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