Skip to content

Commit 6bb4927

Browse files
committed
Fix readme
1 parent 6120a7d commit 6bb4927

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ async fn main() -> anyhow::Result<()> {
169169
}
170170
```
171171

172-
For `Parameters<T>`, the generated tool `inputSchema` is derived from the fields of `T`.
173-
The type name and documentation on `T` are ignored; only field names, field types, and field documentation are used.
172+
The generated tool `inputSchema` is derived from the fields of `T`. The type name and documentation on `T` are ignored; only field names, field types, and field documentation are used.
174173

175174
When you need custom server metadata or multiple capabilities (tools + prompts), use explicit `#[tool_handler]`:
176175

0 commit comments

Comments
 (0)