Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

rename_inventory_item

Change the name of inventory items in RSpace, including samples, containers, and templates, to update item information with a new identifier.

Instructions

Changes the name of any inventory item

Usage: Rename samples, subsamples, containers, or templates Universal: Works with any inventory item type Returns: Updated item information with new name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYes
new_nameYes

Implementation Reference

  • The main handler function for the 'rename_inventory_item' tool. It is decorated with @mcp.tool for automatic registration and delegates the renaming to inv_cli.rename.
    @mcp.tool(tags={"rspace", "inventory", "utility"}) def rename_inventory_item(item_id: Union[int, str], new_name: str) -> dict: """ Changes the name of any inventory item Usage: Rename samples, subsamples, containers, or templates Universal: Works with any inventory item type Returns: Updated item information with new name """ return inv_cli.rename(item_id, new_name)
  • main.py:1119-1119 (registration)
    The @mcp.tool decorator registers the rename_inventory_item function as an MCP tool with tags for categorization.
    @mcp.tool(tags={"rspace", "inventory", "utility"})

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