changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "ContractMetadata": {
+ "additionalProperties": true,
+ "description": "Detailed metadata for a verified smart contract.",
+ "properties": {
+ "compiler_version": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The compiler version used.",
+ "title": "Compiler Version"
+ },
+ "constructor_args": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The raw constructor arguments, possibly truncated.",
+ "title": "Constructor Args"
+ },
+ "constructor_args_truncated": {
+ "default": false,
+ "description": "Indicates if constructor_args or decoded_constructor_args was truncated.",
+ "title": "Constructor Args Truncated",
+ "type": "boolean"
+ },
+ "decoded_constructor_args": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Decoded constructor arguments, if available.",
+ "title": "Decoded Constructor Args"
+ },
+ "evm_version": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The EVM version target.",
+ "title": "Evm Version"
+ },
+ "is_fully_verified": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Flag indicating if the contract is fully verified.",
+ "title": "Is Fully Verified"
+ },
+ "language": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The programming language of the contract (e.g., Solidity, Vyper).",
+ "title": "Language"
+ },
+ "license_type": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The license of the contract code (e.g., MIT, none).",
+ "title": "License Type"
+ },
+ "name": {
+ "description": "The name of the contract.",
+ "title": "Name",
+ "type": "string"
+ },
+ "optimization_enabled": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Flag indicating if compiler optimization was enabled.",
+ "title": "Optimization Enabled"
+ },
+ "optimization_runs": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The number of optimization runs.",
+ "title": "Optimization Runs"
+ },
+ "proxy_type": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The type of proxy if the contract is a proxy (e.g., basic_implementation).",
+ "title": "Proxy Type"
+ },
+ "source_code_tree_structure": {
+ "description": "A list of all source file paths for the contract.",
+ "items": {
+ "type": "string"
+ },
+ "title": "Source Code Tree Structure",
+ "type": "array"
+ },
+ "verified_at": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The timestamp when the contract was verified.",
+ "title": "Verified At"
+ }
+ },
+ "required": [
+ "name",
+ "language",
+ "compiler_version",
+ "verified_at",
+ "source_code_tree_structure",
+ "optimization_enabled",
+ "optimization_runs",
+ "evm_version",
+ "license_type",
+ "proxy_type",
+ "is_fully_verified",
+ "constructor_args"
+ ],
+ "title": "ContractMetadata",
+ "type": "object"
+ },
+ "ContractSourceFile": {
+ "description": "Container for a single contract source file.",
+ "properties": {
+ "file_content": {
+ "description": "The raw source code of the file.",
+ "title": "File Content",
+ "type": "string"
+ }
+ },
+ "required": [
+ "file_content"
+ ],
+ "title": "ContractSourceFile",
+ "type": "object"
+ },
+ "NextCallInfo": {
+ "description": "A structured representation of the tool call required to get the next page.",
+ "properties": {
+ "params": {
+ "additionalProperties": true,
+ "description": "A complete dictionary of parameters for the next tool call, including the new cursor.",
+ "title": "Params",
+ "type": "object"
+ },
+ "tool_name": {
+ "description": "The name of the tool to call for the next page.",
+ "title": "Tool Name",
+ "type": "string"
+ }
+ },
+ "required": [
+ "tool_name",
+ "params"
+ ],
+ "title": "NextCallInfo",
+ "type": "object"
+ },
+ "PaginationInfo": {
+ "description": "Contains the structured information needed to retrieve the next page of results.",
+ "properties": {
+ "next_call": {
+ "$ref": "#/$defs/NextCallInfo",
+ "description": "The structured tool call required to fetch the subsequent page."
+ }
+ },
+ "required": [
+ "next_call"
+ ],
+ "title": "PaginationInfo",
+ "type": "object"
+ }
+ },
+ "properties": {
+ "content_text": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Optional human-readable summary used for MCP content responses.",
+ "title": "Content Text"
+ },
+ "data": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/ContractMetadata"
+ },
+ {
+ "$ref": "#/$defs/ContractSourceFile"
+ }
+ ],
+ "description": "The main data payload of the tool's response.",
+ "title": "Data"
+ },
+ "data_description": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "A list of notes explaining the structure, fields, or conventions of the 'data' payload.",
+ "title": "Data Description"
+ },
+ "instructions": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "A list of suggested follow-up actions or instructions for the LLM to plan its next steps.",
+ "title": "Instructions"
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "A list of important contextual notes, such as warnings about data truncation or data quality issues.",
+ "title": "Notes"
+ },
+ "pagination": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/PaginationInfo"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Pagination information, present only if the 'data' is a single page of a larger result set."
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "title": "ToolResponse[Union[ContractMetadata, ContractSourceFile]]",
+ "type": "object"
+}