Update Client.listTools return type to include next cursor (#54)
This commit is contained in:
parent
cfcead8121
commit
20d4fe6f5a
1 changed files with 5 additions and 5 deletions
|
|
@ -144,9 +144,9 @@ struct RoundtripTests {
|
|||
}
|
||||
|
||||
let listToolsTask = Task {
|
||||
let result = try await client.listTools()
|
||||
#expect(result.count == 1)
|
||||
#expect(result[0].name == "add")
|
||||
let (tools, _) = try await client.listTools()
|
||||
#expect(tools.count == 1)
|
||||
#expect(tools[0].name == "add")
|
||||
}
|
||||
|
||||
let callToolTask = Task {
|
||||
|
|
|
|||
Loading…
Reference in a new issue