Set notes for AI
set_instructionsReplace the connection's notes for AI: the guidance every AI tool receives from get_context, such as "Amounts are in cents" or "Use orders_v2, not orders". Call get_context first and send the full new text, since this replaces the notes rather than appending. An empty string clears them. Changes what every AI tool and person on this connection reads, and is recorded in SaturnSQL with your name. Only make it when the user asked for it or confirmed it. Needs the write scope, the connection's owner or an admin, and a plan that includes Context.
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": {
"connectionId": "<connectionId>",
"instructions": "<instructions>"
},
"name": "set_instructions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | Yes | Connection id from list_connections. | |
| instructions | Yes | The complete notes, as plain text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updatedAt | No | ||
| instructions | No |