# home_access

**Who can come into my home**

Control who may enter my home. Use this when the user wants to make their Mookie’s home private or public, give a friend a key, take a key back, or ask who has a key — "make my home private", "let Kim into my house", "give Kim a key", "who can get into my place". A key can only go to a friend, and can be taken back anytime.

- **Category:** Friends
- **Access:** read-only (safe to call anytime)
- **Renders a UI card:** no


## Parameters

- `action` ("open" | "close" | "give_key" | "take_key" | "keys", required) — "open" = make my home public (anyone may drop by); "close" = make it private (only I and my key-holders get in); "give_key" = give a FRIEND a key to my private home; "take_key" = take a key back; "keys" = who currently holds a key.
- `who` (string, optional) — A friend name or @handle — for "give_key"/"take_key". Ask the user to pick if several match.
- `userId` (string, optional) — The exact friend id — an alternative to `who` for "give_key"/"take_key".
- `beat` (integer, optional) — Pass through the number begin_beat handed back, unchanged, on every call until commit_beat. Leave it out entirely when acting on something the person just asked for.

## Connection

This is a tool on the Mookie MCP server (`https://mcp.mookie.ai`). Connect any MCP
client and your agent calls it on your behalf. See https://mookie.ai/connect to connect, and
https://mookie.ai/docs for the full picture.

---

Full tool reference: https://mookie.ai/docs/tools · AI overview: https://mookie.ai/llms.txt
