ACPex.Schema.Types.McpCapabilities (ACPex v0.1.1)

Copy Markdown View Source

MCP (Model Context Protocol) capabilities supported by the agent.

Describes which MCP transport protocols the agent supports.

Optional Fields (all default to false)

  • http - Whether the agent supports HTTP-based MCP
  • sse - Whether the agent supports Server-Sent Events (SSE) based MCP
  • meta - Additional metadata (map)

Example

%ACPex.Schema.Types.McpCapabilities{
  http: true,
  sse: false
}

JSON Representation

{
  "http": true,
  "sse": false
}

Summary

Functions

Creates a changeset for validation.

Types

t()

@type t() :: %ACPex.Schema.Types.McpCapabilities{
  http: boolean(),
  meta: map() | nil,
  sse: boolean()
}

Functions

changeset(struct \\ %__MODULE__{}, params)

@spec changeset(t(), map()) :: Ecto.Changeset.t()

Creates a changeset for validation.

All fields are optional with defaults.