Report advertised models/modes
modelsGet the active model or mode for a Devin subagent, and see available options. Returns defaults if no session exists, else the current session's settings.
Instructions
With 'name': the session's current model/mode and the agent-advertised available lists. Without: the bridge's configured defaults plus the last-advertised agent-level lists (null until the first session is created). Devin model ids are e.g. swe-2-medium / swe-2-high / swe-2-max.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Subagent handle returned by spawn, e.g. 'coder-auth' |