v15

latestOpenAPI 3.1.1raw.githubusercontent.com2026-06-05137173413.9 KB

List commands

Get a list of all available commands in the OpenCode system.

get/command

Query parameters

directorystring
workspacestring

Response

List of commands

namestring required
descriptionstring
agentstring
modelstring
source'command' | 'mcp' | 'skill'
subtaskboolean
hintsstring[] required