JavaScript
import { createCognitioClient } from "@cognitio/sdk
const client = createCognitioClient()
await client.command.list({
...
})[
{
"name": "<string>",
"template": "<string>",
"hints": [
"<string>"
],
"description": "<string>",
"agent": "<string>",
"model": "<string>",
"source": "command",
"origin": "builtin",
"pluginName": "<string>",
"pluginRoot": "<string>",
"skillDir": "<string>",
"allowedTools": [
"<string>"
],
"disallowedTools": [
"<string>"
],
"subtask": true
}
]API Reference
List commands
Get a list of all available commands in the Cognitio system.
GET
/
command
JavaScript
import { createCognitioClient } from "@cognitio/sdk
const client = createCognitioClient()
await client.command.list({
...
})[
{
"name": "<string>",
"template": "<string>",
"hints": [
"<string>"
],
"description": "<string>",
"agent": "<string>",
"model": "<string>",
"source": "command",
"origin": "builtin",
"pluginName": "<string>",
"pluginRoot": "<string>",
"skillDir": "<string>",
"allowedTools": [
"<string>"
],
"disallowedTools": [
"<string>"
],
"subtask": true
}
]Response
200 - application/json
List of commands
Available options:
command, mcp, skill Available options:
builtin, config, mcp, skill, runtime, plugin