list_containers
Browse and retrieve root-level containers in RSpace to organize research data structure. Returns paginated results for efficient navigation.
Instructions
Lists top-level containers (not nested within other containers)
Usage: Browse main container organization structure Returns: Paginated list of root-level containers
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No |
Implementation Reference
- main.py:947-956 (handler)The main handler function for the 'list_containers' tool. Decorated with @mcp.tool for registration in the MCP framework. It accepts a page_size parameter, creates a Pagination object, and delegates to inv_cli.list_top_level_containers to retrieve a paginated list of top-level containers.@mcp.tool(tags={"rspace", "inventory", "containers"}) def list_containers(page_size: int = 20) -> dict: """ Lists top-level containers (not nested within other containers) Usage: Browse main container organization structure Returns: Paginated list of root-level containers """ pagination = i.Pagination(page_size=page_size) return inv_cli.list_top_level_containers(pagination)