Get message access settings
stack_get_message_accessRead the message access settings: for one agent (agent_id) its own values over the account's over STACK's defaults, or without agent_id the account's. Returns read_teammates and messages_read_only (what is set at that scope, or null when nothing is), effective (what is in force there) and source (agent, account or default, for each). read_teammates (default true): the agent reads the messages of every message account of the customer; false: only its own account. messages_read_only (default false): true lets the agent read but never send, reply, forward, text or post, from any account, its own included. An agent of another customer never reads any of it. Reads of another agent's messages are recorded in the audit log without their content. Operator only; an agent cannot read or change its own.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stack_get_message_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Agent id (agt_*) of the agent this applies to. Omit for the account's values, which every agent without its own values follows. |