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": "File import count, dependents count, and ordered skeleton declarations.",
+ "properties": {
+ "estimator_version": {
+ "description": "Token estimator version.",
+ "type": "string"
+ },
+ "imported_by": {
+ "description": "Number of indexed files importing this module.",
+ "type": "integer"
+ },
+ "imports": {
+ "description": "Number of imported modules detected in file.",
+ "type": "integer"
+ },
+ "omitted_count": {
+ "description": "Number of skeleton items omitted due to budget.",
+ "type": "integer"
+ },
+ "path": {
+ "description": "Canonical repository-relative file path.",
+ "type": "string"
+ },
+ "skeleton": {
+ "description": "Ordered imports and declaration headers (bodies elided).",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "body_elided": {
+ "description": "True when function/method body was elided.",
+ "type": "boolean"
+ },
+ "content": {
+ "description": "Redacted declaration header, or null if file is stale.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "end_line": {
+ "description": "1-based end line.",
+ "type": "integer"
+ },
+ "kind": {
+ "description": "Entry kind ('import', 'function', 'class', 'method', etc.).",
+ "type": "string"
+ },
+ "redacted_lines": {
+ "description": "Count of secret-redacted lines.",
+ "type": "integer"
+ },
+ "start_line": {
+ "description": "1-based start line.",
+ "type": "integer"
+ },
+ "symbol_id": {
+ "description": "Symbol ID for non-import declarations.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "source_sha256": {
+ "description": "12-character hex prefix of indexed file SHA-256.",
+ "type": "string"
+ }
+ },
+ "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"
+}