docs(mcp): drop §5.5 from kg_add docstring/schema
The repo's anti-jargon meta-test bans §N markers outside the sources/backends allowlist. mcp_server.py isn't allowlisted, so the "RFC 002 §5.5" references added in this PR turned the test red. Trim to "RFC 002" — section number isn't load-bearing for the description.
This commit is contained in:
@@ -1075,7 +1075,7 @@ def tool_kg_add(
|
|||||||
All temporal and provenance fields are optional. ``valid_to`` lets callers
|
All temporal and provenance fields are optional. ``valid_to`` lets callers
|
||||||
backfill historical facts with a known end date in a single call (instead
|
backfill historical facts with a known end date in a single call (instead
|
||||||
of a separate ``kg_invalidate``). ``source_file`` and ``source_drawer_id``
|
of a separate ``kg_invalidate``). ``source_file`` and ``source_drawer_id``
|
||||||
are RFC 002 §5.5 provenance fields populated by adapters / bulk importers.
|
are RFC 002 provenance fields populated by adapters / bulk importers.
|
||||||
|
|
||||||
TODO(#1283): once the ISO-8601 validation PR lands, wire ``validate_iso_date``
|
TODO(#1283): once the ISO-8601 validation PR lands, wire ``validate_iso_date``
|
||||||
over ``valid_from`` / ``valid_to`` here so malformed dates fail fast at the
|
over ``valid_from`` / ``valid_to`` here so malformed dates fail fast at the
|
||||||
@@ -1509,7 +1509,7 @@ TOOLS = {
|
|||||||
},
|
},
|
||||||
"source_drawer_id": {
|
"source_drawer_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Drawer ID the fact was extracted from (optional, RFC 002 §5.5 provenance)",
|
"description": "Drawer ID the fact was extracted from (optional, RFC 002 provenance)",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"required": ["subject", "predicate", "object"],
|
"required": ["subject", "predicate", "object"],
|
||||||
|
|||||||
Reference in New Issue
Block a user