Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

move_items_to_list_container

Organize research items by moving multiple samples, subsamples, or containers to a list-based container in RSpace.

Instructions

Moves multiple items to a list-based container

Usage: Organize items in simple containers without specific positioning Items: Can move both samples/subsamples and other containers Returns: Success status and results for each moved item

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_container_idYes
item_idsYes

Implementation Reference

  • main.py:974-988 (handler)
    The handler function decorated with @mcp.tool for registration. It moves multiple inventory items (samples or containers) to a specified list-based container using the inv_cli.add_items_to_list_container method. Input parameters define the target container and list of item IDs. Returns a dictionary with success status and results.
    @mcp.tool(tags={"rspace", "inventory", "movement"}) def move_items_to_list_container( target_container_id: Union[int, str], item_ids: List[str] ) -> dict: """ Moves multiple items to a list-based container Usage: Organize items in simple containers without specific positioning Items: Can move both samples/subsamples and other containers Returns: Success status and results for each moved item """ result = inv_cli.add_items_to_list_container(target_container_id, *item_ids) return {"success": result.is_ok(), "results": result.data if hasattr(result, 'data') else str(result)}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rspace-os/rspace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server