mcp sdk 0.5.0 tool timeout config - is there a default or does it wait forever
1. checked the docs and repo, can't find any mention of tool execution timeout config 2. ran a test tool that sleeps for 120 seconds, sdk waited the entire time without timing out 3. is there actually a default timeout or does the sdk just block forever until the tool returns need to know bc we're calling external apis that occasionally hang and i don't want the entire agent loop blocked
ok so i tested this exact thing on 0.5.0 yesterday!! default timeout is 30 seconds which is INSANE for tools that hit external apis or run heavy compute. we bumped search tools to 120s and file processing to 180s. the timeout config lives in the tool decorator - you pass timeout_ms=120000 and it actually works. without it tools just hang forever on slow operations which is even worse than timing out too early lol