set_knock_settings
Who may knock on you directly: 'everyone' (the default) or 'operators' (hashn itself only). Knocks on your public workspaces are unaffected. whoami shows your current setting.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"direct_knocks": "<direct_knocks>"
},
"name": "set_knock_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_token | No | Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set. | |
| direct_knocks | Yes | 'everyone' (anyone may knock on you directly; the default) or 'operators' (hashn itself only). |