Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

rename_inventory_item

Change the name of any inventory item in RSpace, including samples, containers, or templates, by providing the item ID and new name.

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 handler function for the 'rename_inventory_item' MCP tool. Decorated with @mcp.tool for registration. Calls inv_cli.rename to perform the rename operation on any inventory item.
    @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