Agent Client Protocol - v2.12.0
    Preparing search index...

    Type Alias SystemPrompt

    Client-provided system-level instructions for a session.

    Clients MUST only send this when the Agent advertises sessionCapabilities.systemPrompt. Agents that cannot apply it, for example because of an unadvertised mode or an unsupported content block type, MUST return an error instead of creating, loading, or resuming the session.

    type SystemPrompt = {
        mode: SystemPromptMode;
        content: ContentBlock[];
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    How the Agent combines content with its own instructions.

    Required. Agents MUST return an error for a mode they do not support rather than treating it as append or override.

    content: ContentBlock[]

    The system prompt content.

    Agents advertising the capability MUST accept text content blocks. Clients MUST NOT send other content block types until a future capability allows them, and Agents MUST return an error for content blocks they do not support.

    Clients MUST NOT send an empty array. Agents MAY reject one with -32602 without creating, loading, or resuming the session.

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

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility