Skip to main content
Glama

devin_request_async

Destructive

Start a Cognition Devin CLI request as a durable background job. Poll its status with llm_job_status and collect results with llm_job_result.

Instructions

Start a Cognition Devin CLI request as a durable background job. Poll with llm_job_status, collect with llm_job_result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoModel name or alias (e.g. opus, latest)
configNoConfig file path (Devin --config <PATH>)
promptNoPrompt text for Devin CLI. Required in practice; promptFile is additive (loads an initial prompt from a file).
sandboxNoRun the Devin session in a sandbox (Devin --sandbox). Safety control: never defaulted on; pass true to opt in.
sessionIdNoDevin session ID to resume (--resume <id>; use resumeLatest for --continue). Note: the gw-* id minted for a brand-new session is not resumable via sessionId; continue with resumeLatest:true.
promptFileNoLoad the initial prompt from a file (--prompt-file)
agentConfigNoAgent config file path (Devin --agent-config <FILE>)
forceRefreshNoBypass dedup and force a fresh CLI run even if a recent identical request exists
resumeLatestNoResume the most recent Devin session in cwd (--continue). Note: the gw-* id minted for a brand-new session is not resumable via sessionId; continue with resumeLatest:true.
correlationIdNoRequest trace ID (auto if omitted)
exportSessionNoExport the session (Devin --export [<PATH>]). true emits a bare --export; a string path emits --export <path>.
idleTimeoutMsNoIdle timeout in ms (min 30s, max 1h, omit=CLI default)
optimizePromptNoOptimize prompt before execution
permissionModeNoDevin CLI permission mode (--permission-mode). auto, smart, or dangerous. When omitted, Devin uses its own headless default; pass auto or smart for unattended runs.
compressResponseNoCompress the response display text when collected via llm_job_result (native compressor; default: [compression].enabled).
createNewSessionNoForce a new session
respectWorkspaceTrustNoRespect workspace trust (Devin --respect-workspace-trust <bool>). Devin defaults true for interactive and false for print mode; set explicitly to override.
Behavior3/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds 'durable background job', implying non-immediate response, but does not elaborate on idempotency, auth requirements, or side effects beyond what annotations state.

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 sentences, zero waste, action verb front-loaded. Perfectly concise for the core purpose.

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

Completeness2/5

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

With 17 parameters, no output schema, and minimal description, the tool lacks context on what the background job returns (e.g., a job ID) and how to correlate polling. While schema is detailed, the description should at least mention the response format for polling.

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 baseline 3 is appropriate. The description adds no further insight into parameters beyond what the schema already provides.

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

Purpose4/5

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

The description clearly states the tool starts a Devin CLI request as a durable background job. It distinguishes from siblings by naming specific polling/collection tools (llm_job_status, llm_job_result), but does not explicitly contrast with devin_request (synchronous variant).

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?

Provides explicit follow-up steps: 'Poll with llm_job_status, collect with llm_job_result.' This guides agents on usage pattern. However, it omits when to use this async version vs. other async AI tools (e.g., claude_request_async) given the large sibling list.

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/verivus-oss/llm-cli-gateway'

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