Add semantic context
create_semantic_contextAttach business context statements to a specific knowledge graph node or the entire graph to document definitions and reporting rules.
Instructions
WRITE: attach business context (one or more statements, 5-1000 characters each) to the knowledge graph, e.g. "Net Sales excludes returns and is reported in EUR."
Set exactly ONE of: `target_node_id` (an exact node id from search_nodes/get_node; the
context then DESCRIBES that node) or `is_global=true` (applies to the whole graph).
CONNECTION, SITE, SCHEMA and semantic-context nodes can't be targets. Some sites accept only
graph-wide context through the API (error node_semantic_context_disabled): then use
is_global=true and name the field or data source in each statement. `name` is optional
(derived when omitted). Needs the Creator role. Returns the new context, with its id.
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": {
"statements": "<statements>"
},
"name": "create_semantic_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| graph_id | No | ||
| is_global | No | ||
| statements | Yes | ||
| target_node_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||