https://linen.dev logo
Trying the new ToolRouter -> session_id is not wor...
# 🖥│support-forum
d
Hey, I am playing around with the new Tool Router, and when my llm uses COMPOSIO_SEARCH_TOOLS the first time its passing correctly "session":{"generate_id":true}," And then the next time its using that ID for COMPOSIO_MANAGE_CONNECTIONS with input example:
Copy code
{
  "session_id": "wire",
  "toolkits": [
    "gmail",
    "slack"
  ]
}
We get error:
Copy code
COMPOSIO_MANAGE_CONNECTIONS

"Error: Received tool input did not match expected schema\n Please fix your mistakes."
Any ideas? CC@Rahul since you asked for early feedback, here it is!
r
will check what is happening
d
I managed to solve it manually by adding the session_id property to COMPOSIO_MANAGE_CONNECTIONS