People & branchesmutating

add_friend

Add a friend

Connect with another user by name or @handle — sends a friend request (or, if they already requested me, accepts it). Ask the user to pick if several people match.

View as Markdown (for agents)
Parameters
namestringrequired

Who to connect with — a name or @handle, e.g. "Andrew".

targetUserIdstringoptional

The exact user id, when disambiguating after multiple matches.

Returns

The result of the friend request — sent, or now friends.

Related recipes

This is a tool on the Bonzai MCP server (https://mcp.bonzai.me). Connect your agent and it can call this for you.