@@ -769,20 +769,30 @@ Soon
769769
770770## Configuration
771771
772- ### MCP server updated (⬅️)
772+ ### Tool updated (⬅️)
773773
774- A server notification about a configured MCP server status update .
775- This is useful for clients present to user the list of configured MCPs,
776- their status and available tools.
774+ A server notification about a tool status update like a MCP or native tool .
775+ This is useful for clients present to user the list of configured tools/ MCPs,
776+ their status and available tools and actions .
777777
778778_ Request:_
779779
780- * method: ` mcp /serverUpdated`
781- * params: ` MCPServerUpdatedParams ` defined as follows:
780+ * method: ` tool /serverUpdated`
781+ * params: ` ToolServerUpdatedParams ` defined as follows:
782782
783783_ Response:_
784784
785+
785786``` typescript
787+ type ToolServerUpdatedParams = EcaServerUpdatedParams | MCPServerUpdatedParams ;
788+
789+ interface EcaServerUpdatedParams {
790+ /**
791+ * The built-in tools supported by eca.
792+ */
793+ tools: ServerTool [];
794+ }
795+
786796interface MCPServerUpdatedParams {
787797 /**
788798 * The server name.
@@ -807,22 +817,22 @@ interface MCPServerUpdatedParams {
807817 /**
808818 * The tools supported by this mcp server if not disabled.
809819 */
810- tools? : MCPServerTool [];
820+ tools? : ServerTool [];
811821}
812822
813- interface MCPServerTool {
823+ interface ServerTool {
814824 /**
815- * The MCP server tool name.
825+ * The server tool name.
816826 */
817827 name: string ;
818828
819829 /**
820- * The MCP server tool description.
830+ * The server tool description.
821831 */
822832 description: string ;
823833
824834 /**
825- * The MCP server tool parameters.
835+ * The server tool parameters.
826836 */
827837 parameters: any ;
828838}
0 commit comments