changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "properties": {
+ "budget": {
+ "additionalProperties": true,
+ "description": "Token budget accounting for this response.",
+ "properties": {
+ "envelope_reserve": {
+ "description": "Wire-framing token reserve when budget >= 512.",
+ "type": "integer"
+ },
+ "estimated_tokens": {
+ "description": "Estimated serialized response tokens.",
+ "type": "integer"
+ },
+ "requested_tokens": {
+ "description": "Requested or profile-default token budget.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "completeness": {
+ "additionalProperties": true,
+ "description": "Coverage/resolution completeness indicator.",
+ "properties": {
+ "basis": {
+ "description": "How completeness was computed.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Completeness ratio in [0.0, 1.0], or null if N/A.",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "data": {
+ "additionalProperties": true,
+ "description": "Snapshot metadata, counts, role breakdown, and paths modified since indexing.",
+ "properties": {
+ "added_paths": {
+ "description": "Up to 100 new untracked/unindexed paths detected on disk.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "changed_non_indexed": {
+ "description": "Up to 100 modified non-indexed paths.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "commit_sha": {
+ "description": "Git HEAD commit SHA recorded when snapshot was built.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "edges_indexed": {
+ "description": "Total extracted call/reference edges.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "entry_points": {
+ "description": "Detected entry-point symbol IDs or paths.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "files_indexed": {
+ "description": "Total indexed source files.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "generated_at": {
+ "description": "ISO timestamp when snapshot was built.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "head_changed_since_index": {
+ "description": "True if repository HEAD moved after indexing.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "imported_by": {
+ "description": "Total distinct imported module targets.",
+ "type": "integer"
+ },
+ "imports": {
+ "description": "Total recorded lexical import edges.",
+ "type": "integer"
+ },
+ "index_schema_version": {
+ "description": "SQLite index schema version.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "index_warnings": {
+ "description": "Warnings recorded during snapshot build.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "network_policy_status": {
+ "description": "Declared network policy status.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pending_path_count": {
+ "description": "Total number of modified indexed paths.",
+ "type": "integer"
+ },
+ "pending_paths": {
+ "description": "Up to 100 indexed paths modified on disk since indexing.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role_counts": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "description": "Symbol count grouped by role name.",
+ "type": "object"
+ },
+ "symbols_indexed": {
+ "description": "Total indexed symbols.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "symbols_with_roles": {
+ "description": "Count of symbols assigned architectural roles.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "edge_precision": {
+ "additionalProperties": true,
+ "description": "Resolved vs. ambiguous edge ratio summary.",
+ "properties": {
+ "ambiguous_rate": {
+ "description": "Fraction of edges marked ambiguous.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "basis": {
+ "description": "Measurement basis.",
+ "type": "string"
+ },
+ "resolved_rate": {
+ "description": "Fraction of edges resolved unambiguously.",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "error": {
+ "additionalProperties": true,
+ "description": "Present when the tool call fails (either a structured {code, message, details} object or a diagnostic string).",
+ "properties": {
+ "code": {
+ "description": "Machine-readable error code.",
+ "type": "string"
+ },
+ "details": {
+ "description": "Optional structured metadata for the error.",
+ "type": "object"
+ },
+ "message": {
+ "description": "Human-readable error explanation.",
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "string"
+ ]
+ },
+ "evidence": {
+ "description": "Source-verified file line spans and SHA-256 hashes backing the response.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "end_line": {
+ "description": "1-based end line in source.",
+ "type": "integer"
+ },
+ "path": {
+ "description": "Repository-relative file path.",
+ "type": "string"
+ },
+ "sha256": {
+ "description": "12-character hex prefix of indexed file SHA-256.",
+ "type": "string"
+ },
+ "start_line": {
+ "description": "1-based start line in source.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "freshness": {
+ "description": "Index freshness state ('fresh', 'pending', 'stale', or 'unknown').",
+ "type": "string"
+ },
+ "index_run_id": {
+ "description": "Identifier of the active index snapshot run.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ledger_rev": {
+ "description": "Current evidence ledger revision for repo_id.",
+ "type": "integer"
+ },
+ "repo_id": {
+ "description": "Registered repository identifier.",
+ "type": "string"
+ },
+ "schema_version": {
+ "description": "Envelope schema version ('1.0').",
+ "type": "string"
+ },
+ "truncated": {
+ "description": "True if items were omitted due to budget or node limits.",
+ "type": "boolean"
+ },
+ "untrusted_repository_content": {
+ "description": "True when payload embeds raw repository text.",
+ "type": "boolean"
+ },
+ "warnings": {
+ "description": "Freshness, ambiguity, redaction, or security warnings.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+}