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
72 changes: 72 additions & 0 deletions docs/protocol/v1/draft/schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1527,6 +1527,56 @@ See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/v1/d

</ResponseField>

<a id="session-settitle"></a>
### <span class="font-mono">session/setTitle</span>

Sets the title for a session.

Empty titles are valid and request that the agent clear the session title.

This method can be called at any time during a session, whether the Agent is
idle or actively generating a response.

#### <span class="font-mono">SetSessionTitleRequest</span>

Request parameters for setting a session title.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v1/draft/extensibility)

</ResponseField>
<ResponseField name="sessionId" type={<a href="#sessionid">SessionId</a>} required>
The ID of the session to set the title for.
</ResponseField>
<ResponseField name="title" type={"string"} required>
The new title for the session.
</ResponseField>

#### <span class="font-mono">SetSessionTitleResponse</span>

Response to `session/setTitle` method.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v1/draft/extensibility)

</ResponseField>

<a id="session-set_config_option"></a>
### <span class="font-mono">session/set_config_option</span>

Expand Down Expand Up @@ -6698,6 +6748,9 @@ Whether the agent supports `session/fork`.
<ResponseField name="resume" type={<><span><a href="#sessionresumecapabilities">SessionResumeCapabilities</a></span><span> | null</span></>} >
Whether the agent supports `session/resume`.
</ResponseField>
<ResponseField name="setTitle" type={<><span><a href="#sessionsettitlecapabilities">SessionSetTitleCapabilities</a></span><span> | null</span></>} >
Whether the agent supports `session/setTitle`.
</ResponseField>

## <span class="font-mono">SessionCloseCapabilities</span>

Expand Down Expand Up @@ -7159,6 +7212,25 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/d

</ResponseField>

## <span class="font-mono">SessionSetTitleCapabilities</span>

Capabilities for the `session/setTitle` method.

By supplying `\{\}` it means that the agent supports setting session titles.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v1/draft/extensibility)

</ResponseField>

## <span class="font-mono">SessionUpdate</span>

Different types of updates that can be sent during session processing.
Expand Down
72 changes: 72 additions & 0 deletions docs/protocol/v1/schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,56 @@ See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/v1/s

</ResponseField>

<a id="session-settitle"></a>
### <span class="font-mono">session/setTitle</span>

Sets the title for a session.

Empty titles are valid and request that the agent clear the session title.

This method can be called at any time during a session, whether the Agent is
idle or actively generating a response.

#### <span class="font-mono">SetSessionTitleRequest</span>

Request parameters for setting a session title.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v1/extensibility)

</ResponseField>
<ResponseField name="sessionId" type={<a href="#sessionid">SessionId</a>} required>
The ID of the session to set the title for.
</ResponseField>
<ResponseField name="title" type={"string"} required>
The new title for the session.
</ResponseField>

#### <span class="font-mono">SetSessionTitleResponse</span>

Response to `session/setTitle` method.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v1/extensibility)

</ResponseField>

<a id="session-set_config_option"></a>
### <span class="font-mono">session/set_config_option</span>

Expand Down Expand Up @@ -2872,6 +2922,9 @@ additional-root list associated with a listed session.
<ResponseField name="resume" type={<><span><a href="#sessionresumecapabilities">SessionResumeCapabilities</a></span><span> | null</span></>} >
Whether the agent supports `session/resume`.
</ResponseField>
<ResponseField name="setTitle" type={<><span><a href="#sessionsettitlecapabilities">SessionSetTitleCapabilities</a></span><span> | null</span></>} >
Whether the agent supports `session/setTitle`.
</ResponseField>

## <span class="font-mono">SessionCloseCapabilities</span>

Expand Down Expand Up @@ -3223,6 +3276,25 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/e

</ResponseField>

## <span class="font-mono">SessionSetTitleCapabilities</span>

Capabilities for the `session/setTitle` method.

By supplying `\{\}` it means that the agent supports setting session titles.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v1/extensibility)

</ResponseField>

## <span class="font-mono">SessionUpdate</span>

Different types of updates that can be sent during session processing.
Expand Down
72 changes: 72 additions & 0 deletions docs/protocol/v2/draft/schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1504,6 +1504,56 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v2/d
Initial session configuration options if supported by the Agent.
</ResponseField>

<a id="session-settitle"></a>
### <span class="font-mono">session/setTitle</span>

Sets the title for a session.

Empty titles are valid and request that the agent clear the session title.

This method can be called at any time during a session, whether the Agent is
idle or actively generating a response.

#### <span class="font-mono">SetSessionTitleRequest</span>

Request parameters for setting a session title.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v2/draft/extensibility)

</ResponseField>
<ResponseField name="sessionId" type={<a href="#sessionid">SessionId</a>} required>
The ID of the session to set the title for.
</ResponseField>
<ResponseField name="title" type={"string"} required>
The new title for the session.
</ResponseField>

#### <span class="font-mono">SetSessionTitleResponse</span>

Response to `session/setTitle` method.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v2/draft/extensibility)

</ResponseField>

<a id="session-set_config_option"></a>
### <span class="font-mono">session/set_config_option</span>

Expand Down Expand Up @@ -6810,6 +6860,9 @@ Whether the agent supports `session/fork`.
<ResponseField name="resume" type={<><span><a href="#sessionresumecapabilities">SessionResumeCapabilities</a></span><span> | null</span></>} >
Whether the agent supports `session/resume`.
</ResponseField>
<ResponseField name="setTitle" type={<><span><a href="#sessionsettitlecapabilities">SessionSetTitleCapabilities</a></span><span> | null</span></>} >
Whether the agent supports `session/setTitle`.
</ResponseField>

## <span class="font-mono">SessionCloseCapabilities</span>

Expand Down Expand Up @@ -7247,6 +7300,25 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v2/d

</ResponseField>

## <span class="font-mono">SessionSetTitleCapabilities</span>

Capabilities for the `session/setTitle` method.

By supplying `\{\}` it means that the agent supports setting session titles.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v2/draft/extensibility)

</ResponseField>

## <span class="font-mono">SessionUpdate</span>

Different types of updates that can be sent during session processing.
Expand Down
72 changes: 72 additions & 0 deletions docs/protocol/v2/schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,56 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v2/e
Initial session configuration options if supported by the Agent.
</ResponseField>

<a id="session-settitle"></a>
### <span class="font-mono">session/setTitle</span>

Sets the title for a session.

Empty titles are valid and request that the agent clear the session title.

This method can be called at any time during a session, whether the Agent is
idle or actively generating a response.

#### <span class="font-mono">SetSessionTitleRequest</span>

Request parameters for setting a session title.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v2/extensibility)

</ResponseField>
<ResponseField name="sessionId" type={<a href="#sessionid">SessionId</a>} required>
The ID of the session to set the title for.
</ResponseField>
<ResponseField name="title" type={"string"} required>
The new title for the session.
</ResponseField>

#### <span class="font-mono">SetSessionTitleResponse</span>

Response to `session/setTitle` method.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v2/extensibility)

</ResponseField>

<a id="session-set_config_option"></a>
### <span class="font-mono">session/set_config_option</span>

Expand Down Expand Up @@ -2911,6 +2961,9 @@ additional-root list associated with a listed session.
<ResponseField name="resume" type={<><span><a href="#sessionresumecapabilities">SessionResumeCapabilities</a></span><span> | null</span></>} >
Whether the agent supports `session/resume`.
</ResponseField>
<ResponseField name="setTitle" type={<><span><a href="#sessionsettitlecapabilities">SessionSetTitleCapabilities</a></span><span> | null</span></>} >
Whether the agent supports `session/setTitle`.
</ResponseField>

## <span class="font-mono">SessionCloseCapabilities</span>

Expand Down Expand Up @@ -3267,6 +3320,25 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v2/e

</ResponseField>

## <span class="font-mono">SessionSetTitleCapabilities</span>

Capabilities for the `session/setTitle` method.

By supplying `\{\}` it means that the agent supports setting session titles.

**Type:** Object

**Properties:**

<ResponseField name="_meta" type={"object | 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](https://agentclientprotocol.com/protocol/v2/extensibility)

</ResponseField>

## <span class="font-mono">SessionUpdate</span>

Different types of updates that can be sent during session processing.
Expand Down
3 changes: 2 additions & 1 deletion schema/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"session_prompt": "session/prompt",
"session_resume": "session/resume",
"session_set_config_option": "session/set_config_option",
"session_set_mode": "session/set_mode"
"session_set_mode": "session/set_mode",
"session_set_title": "session/setTitle"
},
"clientMethods": {
"fs_read_text_file": "fs/read_text_file",
Expand Down
3 changes: 2 additions & 1 deletion schema/meta.unstable.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"session_prompt": "session/prompt",
"session_resume": "session/resume",
"session_set_config_option": "session/set_config_option",
"session_set_mode": "session/set_mode"
"session_set_mode": "session/set_mode",
"session_set_title": "session/setTitle"
},
"clientMethods": {
"elicitation_complete": "elicitation/complete",
Expand Down
Loading