Commands
Create command
POST
Create command
Autorizações
Parâmetros de caminho
Corpo
application/json
Body for creating a new slash command on an agent.
Slash command identifier. Lowercase alphanumeric with optional hyphens (not leading or trailing).
Maximum string length:
100Pattern:
^[a-z0-9]([a-z0-9-]*[a-z0-9])?$Exemplo:
"summarize-invoices"
Short description shown in the command picker.
Maximum string length:
500Exemplo:
"Summarizes recent invoices grouped by month."
Display name of the command.
Maximum string length:
150Exemplo:
"Summarize invoices"
Prompt template injected when the command is invoked.
Maximum string length:
10000Exemplo:
"Summarize the user's last 10 invoices grouped by month."
Create command

