Update semantic context
update_semantic_contextModify a user-managed semantic context by replacing its statements, renaming it, or reattaching it to a graph node or making it global; only supplied fields change.
Instructions
WRITE: change a user-managed semantic context (ctx_id, e.g. "semctx:"). Only what
you pass changes.
- `statements` REPLACES the whole stored set (include every statement you want to keep).
- `name` renames it.
- `attach_to` (an exact node id) re-attaches it to that node; `make_global=true` detaches it
and makes it graph-wide. Not both.
Tableau-managed (SEMANTIC_CONTEXT_EXTERNAL) contexts can't be changed. Needs the Creator role.
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": {
"ctx_id": "<ctx_id>"
},
"name": "update_semantic_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| ctx_id | Yes | ||
| graph_id | No | ||
| attach_to | No | ||
| statements | No | ||
| make_global | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||