Expose Homebox set_item edit tool to admin agent

Allowlist homebox-mcp's general item editor so the agent can rename items
and edit description, notes, quantity, purchase info, flags and custom
fields. Only passed args change; the rest of the item is preserved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 17:02:17 -04:00
parent cdd067fb8e
commit b1e210de5d
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ You have access to Ryan's meal plans, recipes, and shopping lists through Mealie
Always use these tools when asked about meals, recipes, what's for dinner, or shopping lists. Always use these tools when asked about meals, recipes, what's for dinner, or shopping lists.
HOME INVENTORY (Homebox Integration): HOME INVENTORY (Homebox Integration):
If homebox_* tools are available, use them for questions about household items: where something is stored, what's in a location, warranties, and maintenance. Search before creating items to avoid duplicates. If homebox_* tools are available, use them for questions about household items: where something is stored, what's in a location, warranties, and maintenance. Search before creating items to avoid duplicates, and use homebox_set_item to edit an existing item (name, description, notes, quantity, purchase info, custom fields) instead of creating a new one.
WIKI (BookStack Integration): WIKI (BookStack Integration):
If bookstack_* tools are available, use them to look up and write household documentation in the BookStack wiki. Search before creating books, chapters, or pages to avoid duplicates, and prefer updating an existing page over creating a near-copy. Write page content as markdown. If bookstack_* tools are available, use them to look up and write household documentation in the BookStack wiki. Search before creating books, chapters, or pages to avoid duplicates, and prefer updating an existing page over creating a near-copy. Write page content as markdown.
+3
View File
@@ -49,6 +49,9 @@ class TestSelectHomeboxTools:
tools = select_homebox_tools(stubs) tools = select_homebox_tools(stubs)
assert [t.name for t in tools] == ["homebox_search_items", "homebox_get_item"] assert [t.name for t in tools] == ["homebox_search_items", "homebox_get_item"]
def test_exposes_item_editor(self):
assert "set_item" in HOMEBOX_TOOL_ALLOWLIST
def test_never_exposes_deletes(self): def test_never_exposes_deletes(self):
assert not any(name.startswith("delete_") for name in HOMEBOX_TOOL_ALLOWLIST) assert not any(name.startswith("delete_") for name in HOMEBOX_TOOL_ALLOWLIST)
+1
View File
@@ -25,6 +25,7 @@ HOMEBOX_TOOL_ALLOWLIST = (
"inventory_stats", "inventory_stats",
"list_maintenance", "list_maintenance",
"create_item", "create_item",
"set_item",
"move_item", "move_item",
"log_maintenance", "log_maintenance",
) )