Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions docs/protocol/v1/draft/initialization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,16 @@ The Agent **SHOULD** specify whether it supports the following capabilities:
that may be included in `session/prompt` requests.
</ResponseField>

<ResponseField name="mcpCapabilities" type="McpCapabilities Object">
Object indicating which [MCP capabilities](#mcp-capabilities) the Agent
supports.
</ResponseField>

<ResponseField name="sessionCapabilities" type="SessionCapabilities Object">
Object indicating which optional [session capabilities](#session-capabilities)
the Agent supports.
</ResponseField>

<ResponseField name="auth" type="AgentAuthCapabilities Object">
Authentication-related capabilities supported by the Agent.
</ResponseField>
Expand Down Expand Up @@ -389,6 +399,12 @@ As a baseline, all Agents **MUST** support `session/new`, `session/prompt`, `ses

Optionally, they **MAY** support other session methods and notifications by specifying additional capabilities.

<ResponseField name="list" type="SessionListCapabilities Object">
The [`session/list`](/protocol/v1/draft/session-list) method is available.
Omitted or `null` both mean the Agent does not advertise support. Supplying an
empty object means the Agent supports listing sessions.
</ResponseField>

<ResponseField name="delete" type="SessionDeleteCapabilities Object">
The [`session/delete`](/protocol/v1/draft/session-delete) method is available.
Omitted or `null` both mean the Agent does not advertise support. Supplying an
Expand Down Expand Up @@ -441,6 +457,19 @@ Optionally, they **MAY** support other session methods and notifications by spec
capability.
</ResponseField>

<ResponseField name="resume" type="SessionResumeCapabilities Object">
The [`session/resume`](/protocol/v1/draft/session-setup#resuming-sessions)
method is available. Omitted or `null` both mean the Agent does not advertise
support. Supplying an empty object means the Agent supports resuming sessions.
</ResponseField>

<ResponseField name="close" type="SessionCloseCapabilities Object">
The
[`session/close`](/protocol/v1/draft/session-setup#closing-active-sessions)
method is available. Omitted or `null` both mean the Agent does not advertise
support. Supplying an empty object means the Agent supports closing sessions.
</ResponseField>

<Note>
`session/load` is still handled by the top-level `loadSession` capability.
This will be unified in future versions of the protocol.
Expand Down
28 changes: 28 additions & 0 deletions docs/protocol/v1/initialization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,16 @@ The Agent **SHOULD** specify whether it supports the following capabilities:
may be included in `session/prompt` requests.
</ResponseField>

<ResponseField name="mcpCapabilities" type="McpCapabilities Object">
Object indicating which [MCP capabilities](#mcp-capabilities) the Agent
supports.
</ResponseField>

<ResponseField name="sessionCapabilities" type="SessionCapabilities Object">
Object indicating which optional [session capabilities](#session-capabilities)
the Agent supports.
</ResponseField>

<ResponseField name="auth" type="AgentAuthCapabilities Object">
Authentication-related capabilities supported by the Agent.
</ResponseField>
Expand Down Expand Up @@ -311,6 +321,12 @@ As a baseline, all Agents **MUST** support `session/new`, `session/prompt`, `ses

Optionally, they **MAY** support other session methods and notifications by specifying additional capabilities.

<ResponseField name="list" type="SessionListCapabilities Object">
The [`session/list`](/protocol/v1/session-list) method is available. Omitted
or `null` both mean the Agent does not advertise support. Supplying an empty
object means the Agent supports listing sessions.
</ResponseField>

<ResponseField name="delete" type="SessionDeleteCapabilities Object">
The [`session/delete`](/protocol/v1/session-delete) method is available.
Omitted or `null` both mean the Agent does not advertise support. Supplying an
Expand All @@ -334,6 +350,18 @@ Optionally, they **MAY** support other session methods and notifications by spec
Supplying `{ "mode": { "override": {} } }` also advertises `override` mode.
</ResponseField>

<ResponseField name="resume" type="SessionResumeCapabilities Object">
The [`session/resume`](/protocol/v1/session-setup#resuming-sessions) method is
available. Omitted or `null` both mean the Agent does not advertise support.
Supplying an empty object means the Agent supports resuming sessions.
</ResponseField>

<ResponseField name="close" type="SessionCloseCapabilities Object">
The [`session/close`](/protocol/v1/session-setup#closing-active-sessions)
method is available. Omitted or `null` both mean the Agent does not advertise
support. Supplying an empty object means the Agent supports closing sessions.
</ResponseField>

<Note>
`session/load` is still handled by the top-level `loadSession` capability.
This will be unified in future versions of the protocol.
Expand Down