Commit e0dd37b
docs(python): clarify available_tools/excluded_tools filter all tools, not just built-ins (#1180)
Update docstrings in client.py and inline comments in session.py to
accurately document that available_tools and excluded_tools apply to
the full merged tool catalog (built-in, MCP, and custom tools registered
via tools=), not just built-in tools.
Fixes #1179
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c22f361 commit e0dd37b
2 files changed
Lines changed: 28 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1238 | 1238 | | |
1239 | 1239 | | |
1240 | 1240 | | |
1241 | | - | |
1242 | | - | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
1243 | 1250 | | |
1244 | 1251 | | |
1245 | 1252 | | |
| |||
1531 | 1538 | | |
1532 | 1539 | | |
1533 | 1540 | | |
1534 | | - | |
1535 | | - | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
1536 | 1550 | | |
1537 | 1551 | | |
1538 | 1552 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
847 | 847 | | |
848 | 848 | | |
849 | 849 | | |
850 | | - | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
851 | 853 | | |
852 | | - | |
| 854 | + | |
| 855 | + | |
853 | 856 | | |
854 | 857 | | |
855 | 858 | | |
| |||
919 | 922 | | |
920 | 923 | | |
921 | 924 | | |
922 | | - | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
923 | 928 | | |
924 | | - | |
| 929 | + | |
| 930 | + | |
925 | 931 | | |
926 | 932 | | |
927 | 933 | | |
| |||
0 commit comments