Skip to content

Commit cbad40e

Browse files
committed
feat: save tools input schema
1 parent 6c3900b commit cbad40e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/uipath_mcp/_cli/_runtime/_runtime.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import asyncio
2+
import json
23
import logging
34
import os
45
import sys
@@ -368,6 +369,9 @@ async def _register(self) -> None:
368369
"Name": tool.name,
369370
"ProcessType": "Tool",
370371
"Description": tool.description,
372+
"InputSchema": json.dumps(tool.inputSchema)
373+
if tool.inputSchema
374+
else "{}",
371375
}
372376
client_info["tools"].append(tool_info)
373377

0 commit comments

Comments
 (0)