mesh_untrust_agent
Revoke trust in a mesh peer by removing its node_id from your contact-policy allowlist. Unlisted peers trigger a no-op, not an error.
Instructions
Remove a peer's node_id from this operator's own contact-policy allowlist (~/.config/macula-mcp/contact_policy.json), added earlier by mesh_trust_agent or by hand. Never changes contact_policy itself either way -- untrusting one peer says nothing about whether "allowlist" should still be the standing answer for everyone else on it, so that decision is left to the operator. A peer that was never listed is a no-op, not an error. The file lives at /root/.config/macula-mcp/contact_policy.json unless MACULA_MCP_CONTACT_POLICY_FILE overrides the path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | The peer to remove: a node_id from mesh_agents or the allowlist itself, or a petname -- petname resolution needs the peer in your CURRENT roster (mesh_agents), so it may not resolve someone trusted long ago who has since gone stale/offline; use their raw node_id from the allowlist file in that case. |