Update Fact Classification
update_fact_classificationUpdates a fact node's text and classification within a FactGraph, locking it after modification to prevent further changes unless unlocked.
Instructions
【いつ使う】弁護士がノードの内容(条文テキストや分類)を変更するとき。extract_fact_graphの出力graphを受け取って呼ぶ。 【入力】graph: 現在のFactGraph / node_id: 変更対象のノードID / new_text: 新しいテキスト / new_type: 新しい分類(任意)/ mark_verified: 変更後にuser_verified=trueでロックするか(デフォルトtrue) 【出力】{ graph: 更新済みFactGraph, changed_node_ids: 変更されたノードIDリスト, diff_summary: { modified_nodes, details } }。changed_node_idsをそのままanalyze_impactに渡すこと。 【注意】user_verified=trueのノードは変更を拒否し、changed_node_ids=[]で返る。再編集が必要な場合はgraph内の該当ノードのuser_verifiedをfalseに書き換えてから再呼び出しすること。mark_verified=true(デフォルト)の場合、変更後のノードは以後自動的にロックされる。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | 現在のFactGraph(extract_fact_graphの出力) | |
| node_id | Yes | 変更対象のノードID | |
| new_text | Yes | ノードの新しいテキスト | |
| new_type | No | ノードの新しい分類タイプ(任意) | |
| mark_verified | No | 変更後にuser_verified=trueとマークするか(デフォルト: true) |