update_nodes
ActiveTool of SimpleFunctions
Directly update causal tree node probabilities — zero LLM cost, instant. Use when the agent observes a confirmed fact (e.g. "CPI came in at 3.2%") and wants to reflect it immediately. Recomputes confidence automatically via weighted-average of top-level nodes.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"thesisId",
"apiKey",
"updates"
],
"properties": {
"lock": {
"type": "array",
"items": {
"type": "string"
},
"description": "Advisory pin — tells future evaluations that these nodes are well-supported. Evidence can still revise them; pinning no longer makes a node permanent."
},
"apiKey": {
"type": "string",
"description": "SimpleFunctions API key. Get one at https://simplefunctions.dev/dashboard/keys"
},
"updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"nodeId",
"probability"
],
"properties": {
"nodeId": {
"type": "string",
"description": "Causal tree node ID (e.g. n3, n1.2)"
},
"reason": {
"type": "string",
"description": "Why this update"
},
"probability": {
"type": "number",
"description": "New probability (0-1). Use 0.99 for confirmed facts."
}
}
},
"description": "Node updates to apply"
},
"thesisId": {
"type": "string",
"description": "Thesis ID"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
SimpleFunctions
https://github.com/spfunctions/simplefunctions-cli
2/7 registries