Repository navigation
Commit 6de85ec
authored
mcp: do not enforce TTL on cached tool (#1053)
This PR removes the TTL enforcing on the cached tools, when used to
generate the http-parameters for CallTool, according to updated
[spec](modelcontextprotocol/modelcontextprotocol#2972)
> Clients **MUST** construct `Mcp-Param-*` headers using the most
recently obtained `inputSchema` for the tool.1 parent d651e2d commit 6de85ec
2 files changed
Lines changed: 7 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 57 | | |
70 | 58 | | |
71 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
593 | 591 | | |
594 | | - | |
595 | | - | |
| 592 | + | |
596 | 593 | | |
597 | 594 | | |
598 | | - | |
599 | | - | |
| 595 | + | |
| 596 | + | |
600 | 597 | | |
601 | 598 | | |
602 | 599 | | |
| |||
0 commit comments