ACP v2 (Preview) TypeScript SDK — EXPERIMENTAL - v2.12.1
    Preparing search index...

    Type Alias CommandExperimental

    A slash command the user can invoke by including it in a prompt.

    The type discriminator value is command.

    type Command = {
        name: string;
        description: string;
        input?: AvailableCommandInput | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    name: string

    Plain-text command name without the leading /, such as create_plan or research_codebase.

    MUST NOT contain whitespace and MUST be unique within the command list.

    description: string

    Human-readable description of what the command does. May contain Markdown.

    input?: AvailableCommandInput | null

    Input for the command if required

    Omitted and null are equivalent and mean the command takes no input.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility