You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/protocol/initialization.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,9 +65,9 @@ See [Capabilities](#capabilities) to learn how non-breaking features are introdu
65
65
66
66
The `initialize` request **MUST** include the latest protocol version the Client supports.
67
67
68
-
If the Agent supports the requested version, it **MUST** respond with the same version. Otherwise, the server **MUST** respond with latest version it supports.
68
+
If the Agent supports the requested version, it **MUST** respond with the same version. Otherwise, the server **MUST** respond with the latest version it supports.
69
69
70
-
If the Client does not support the version specified by the Agent in the `initialize` response, the Client **SHOULD** close the connection and inform the User about it.
70
+
If the Client does not support the version specified by the Agent in the `initialize` response, the Client **SHOULD** close the connection and inform the user about it.
71
71
72
72
73
73
## Capabilities
@@ -89,7 +89,7 @@ The Client **SHOULD** specify whether it supports the following capability:
89
89
90
90
#### FileSystem
91
91
92
-
The Client **MAY** expose its FileSystem abstraction to varying degree:
92
+
The Client **MAY** expose its FileSystem abstraction to varying degrees:
93
93
94
94
-`readTextFile`: The `fs/read_text_file` method is available.
95
95
-`writeTextFile`: The `fs/write_text_file` method is available.
Copy file name to clipboardExpand all lines: docs/protocol/prompt-turn.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ The turn begins when the Client sends a `session/prompt` request containing the
40
40
}
41
41
```
42
42
43
-
This message **MAY** include various types of [content](./content) including text, images, audio, references to external resources, and embedded context.
43
+
This message **MAY** include various types of [content](./content), including text, images, audio, references to external resources, and embedded context.
44
44
45
45
{/* todo! move prompt capabilities to this page */}
46
46
Clients **MUST** only include types of content supported by the Agent according to its [Prompt Capabilities](./initialization#prompt-capabilities).
@@ -70,7 +70,7 @@ The Agent reports the model's output to the Client via `session/update` notifica
70
70
}
71
71
```
72
72
73
-
If the model requested tool calls, these are also reported as soon:
73
+
If the model requested tool calls, these are also reported immediately:
74
74
75
75
```json
76
76
{
@@ -111,7 +111,7 @@ If tool calls were requested, the Agent processes each [tool](./tool-call).
111
111
112
112
Before proceeding with execution, the Agent **MAY** request permission from the Client via the `session/request_permission` method.
113
113
114
-
Once permission is granted (if required), the Agent **SHOULD** invoke the tool and report a status update marking the tool as `in_progress`
114
+
Once permission is granted (if required), the Agent **SHOULD** invoke the tool and report a status update marking the tool as `in_progress`:
115
115
116
116
```json
117
117
{
@@ -166,7 +166,7 @@ The Agent sends the tool results back to the language model as another request.
166
166
167
167
The cycle returns to [step 2](#2-agent-processing), continuing until the language model completes its response without requesting additional tool calls or the turn gets stopped by the Agent or cancelled by the Client.
168
168
169
-
## Stop reasons
169
+
## Stop Reasons
170
170
171
171
When an Agent stops a turn, it must specify the corresponding `StopReason`:
0 commit comments