We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb1213 commit f997d03Copy full SHA for f997d03
neuro_san/service/mcp/processors/mcp_tools_processor.py
@@ -234,8 +234,8 @@ async def _get_tool_description(
234
"inputSchema": self.tool_request_validator.get_request_schema()
235
}
236
# Include agent network metadata in MCP _meta field if available:
237
- network_metadata: Dict[str, Any] = agent_network.get_metadata()
238
- if network_metadata is not None:
+ network_metadata: Any = agent_network.get_metadata()
+ if isinstance(network_metadata, dict):
239
tool_dict["_meta"] = network_metadata
240
return tool_dict
241
0 commit comments