Commit dc4fda9
authored
docs(java-quickstart): update tool registration method in java client quickstart (modelcontextprotocol#465)
Update client.mdx to reflect breaking change replacing the `.defaultTools()` by `.defaultToolCallbacks()` for registering MCP tools.
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>1 parent 39478da commit dc4fda9
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
922 | | - | |
| 922 | + | |
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
926 | 926 | | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
927 | 931 | | |
928 | 932 | | |
929 | 933 | | |
930 | 934 | | |
931 | 935 | | |
932 | 936 | | |
| 937 | + | |
933 | 938 | | |
934 | 939 | | |
935 | 940 | | |
| |||
0 commit comments