Class: MCP::Client::ListToolsResult
- Inherits:
-
Struct
- Object
- Struct
- MCP::Client::ListToolsResult
- Defined in:
- lib/mcp/client/paginated_result.rb
Overview
Result objects returned by list_tools, list_prompts, list_resources, and list_resource_templates.
Each carries the page items, an optional opaque next_cursor string for continuing pagination,
and an optional meta hash mirroring the MCP _meta response field.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#next_cursor ⇒ Object
Returns the value of attribute next_cursor.
-
#tools ⇒ Object
Returns the value of attribute tools.
Instance Attribute Details
#meta ⇒ Object
Returns the value of attribute meta
8 9 10 |
# File 'lib/mcp/client/paginated_result.rb', line 8 def @meta end |
#next_cursor ⇒ Object
Returns the value of attribute next_cursor
8 9 10 |
# File 'lib/mcp/client/paginated_result.rb', line 8 def next_cursor @next_cursor end |
#tools ⇒ Object
Returns the value of attribute tools
8 9 10 |
# File 'lib/mcp/client/paginated_result.rb', line 8 def tools @tools end |