Set Custom Data
set_custom_dataStore private per-user key-value JSON data on a Canvas account for app settings or preferences, replacing any value at the same namespace and scope; retrieve it with the companion getter.
Instructions
Store your own key-value data on your Canvas account (a small private per-user store, invisible to others). Overwrites any existing value at the same namespace and scope. Read it back with get_custom_data.
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": {
"data": "<data>"
},
"name": "set_custom_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON object to store, e.g. {"theme": "dark"}. Replaces whatever is already stored at this scope. | |
| scope | No | Optional path inside the namespace, e.g. "settings/theme". | |
| namespace | No | Namespace that keeps your data apart from other apps. Defaults to "canvas-mcp". |