Skip to content

Commit ba16cc4

Browse files
Update mcp-elements.md
Co-authored-by: Christopher Hertel <[email protected]>
1 parent 7a4d8c2 commit ba16cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/mcp-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function getMultipleContent(): array
154154

155155
#### Error Handling
156156

157-
**Tools should ONLY throw `ToolCallException` for any error that occurs during tool execution.**
157+
**Tools SHOULD throw `ToolCallException` for errors that occur during tool execution to be communicated to the client.**
158158

159159
```php
160160
use Mcp\Exception\ToolCallException;

0 commit comments

Comments
 (0)