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
Add streaming tool support and progress notifications
- Updated documentation to include streaming tool support and new tool result types (Text, Image, Audio, Resource).
- Enhanced example tools with `StreamingDataTool` and progress notification capabilities.
- Updated CHANGELOG to reflect support for progress notifications and structured tool results.
You can also manually create and register tools in `config/packages/klp_mcp_server.yaml`:
129
132
130
133
```php
134
+
use KLP\KlpMcpServer\Services\ProgressService\ProgressNotifierInterface;
135
+
use KLP\KlpMcpServer\Services\ToolService\Annotation\ToolAnnotation;
136
+
use KLP\KlpMcpServer\Services\ToolService\Result\ToolResultInterface;
131
137
use KLP\KlpMcpServer\Services\ToolService\StreamableToolInterface;
132
138
133
139
class MyCustomTool implements StreamableToolInterface
@@ -156,6 +162,7 @@ This helps you rapidly develop and debug tools by:
156
162
- Showing the tool's input schema and validating inputs
157
163
- Executing the tool with your provided input
158
164
- Displaying formatted results or detailed error information
165
+
- Displaying progress notifications for streaming tool
159
166
- Supporting complex input types including objects and arrays
160
167
161
168
**For deep diving into tools creation please take a look at dedicated documentation [Here](https://github.com/klapaudius/symfony-mcp-server/blob/master/docs/building_tools.md)**
0 commit comments