Fix a oversight wrt ToolManager.meta, where I had created a dict of name-keyed toolcall metas, instead of a simple list of toolcall metas. Rather I blindly duplicated structure I used for storing the tool calls in the tc_switch in the anveshika sallap client side code. Add dataclasses to mimic the MCP tools/list response. However wrt the 2 odd differences between the MCP structure and OpenAi tools handshake structure, for now I have retained the OpenAi tools hs structure. Add a common helper send_mcp to ProxyHandler given that both mcp_toolscall and mcp_toolslist and even others like mcp_initialise in future require a common response mechanism. With above and bit more implement initial go at tools/list response. |
||
|---|---|---|
| .. | ||
| config.py | ||
| debug.py | ||
| filemagic.py | ||
| pdfmagic.py | ||
| simplemcp.py | ||
| simpleproxy.json | ||
| simpleproxy.py | ||
| tcpdf.py | ||
| tcweb.py | ||
| test-gen-self-signed.sh | ||
| toolcall.py | ||
| urlvalidator.py | ||
| webmagic.py | ||