Python Code Validator
Qué hace este MCP
Validates Python code through linting, type checks, security analysis, sandbox execution, and corrective suggestions.
Herramientas
Esquema de entrada
{'type': 'object', '$defs': {'Mode': {'enum': ['static', 'repair', 'execute'], 'type': 'string', 'title': 'Mode', 'description': 'How much work the service is allowed to do.\n\n``static``\n Never executes the submitted code. Parsing, linting and security\n scanning only. This is the default and the only mode that is safe to\n expose without a container sandbox.\n``repair``\n Static mode plus deterministic auto-fixes and refactors.\n``execute``\n Repair plus running the code inside a sandbox to prove it works.'}, 'Options': {'type': 'object', 'title': 'Options', 'properties': {'examples': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Examples', 'default': None, 'description': "What the code is supposed to do, as doctest lines ('>>> f(2)' on one line, '4' on the next) or as plain assertions ('assert f(2) == 4'). In execute mode they are run in the sandbox: an example that does not hold is a 'python:example-mismatch' error and makes the response invalid, and repair searches for a single-token change that makes every one of them pass. This is the only way the service can tell code that runs from code that is right, so send it whenever you know what you asked for. Examples already written in the code ('>>> ' in any string) are used the same way without this option. Ignored in the other modes, which run nothing."}, 'optimize': {'type': 'boolean', 'title': 'Optimize', 'default': False, 'description': 'Run constant folding / dead-code elimination. Off by default: the optimiser rewrites the program, and a rewrite is only returned when it provably keeps every effectful construct.'}, 'timeout_s': {'anyOf': [{'type': 'number', 'maximum': 60, 'exclusiveMinimum': 0}, {'type': 'null'}], 'title': 'Timeout S', 'default': None, 'description': "Wall-clock budget for running the code. Omitted means the service's own default (MSVC_DEFAULT_TIMEOUT_S). Only execute mode runs anything; a deployment may cap this below the 60 the schema allows and refuses a larger value."}, 'transpile_to': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Transpile To', 'default': None, 'description': "Target language for a transpiled copy, e.g. 'javascript'. The copy is made from the code as it ends up, so in repair and execute mode it translates the repaired source rather than the submitted one."}, 'max_iterations': {'type': 'integer', 'title': 'Max Iterations', 'default': 3, 'maximum': 10, 'minimum': 1, 'description': 'How many fix/verify rounds the repair loop may take. Ignored in static mode, which changes nothing.'}, 'expected_output': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Expected Output', 'default': None, 'description': "Exact stdout the code must produce in execute mode. A mismatch is an 'expected-output' diagnostic and makes the response invalid, even when the program exits cleanly. Ignored in the other modes, which produce no output."}}, 'description': 'Per-request tuning knobs.'}, 'Language': {'enum': ['python', 'javascript', 'typescript', 'html', 'sql', 'solidity', 'other'], 'type': 'string', 'title': 'Language', 'description': 'Source languages a validator can accept.'}}, 'title': 'ValidateRequest', 'required': ['code'], 'properties': {'code': {'type': 'string', 'title': 'Code', 'maxLength': 200000, 'minLength': 1, 'description': 'The source to check, as a whole file where possible: diagnostics carry the line and column of the text you send, and a fragment hides the imports and definitions the type check needs. A deployment may accept fewer bytes than the 200000 here.'}, 'options': {'$ref': '#/$defs/Options', 'description': 'Tuning knobs. Most of them only take effect in the mode that does the corresponding work; see each field.'}, 'language': {'$ref': '#/$defs/Language', 'default': 'python', 'description': 'The language of the code. A service that does not handle it refuses the request rather than guessing; the enum is shared across services, so it lists more than any one of them accepts.'}}, 'description': 'A validation job submitted by an agent.'}
Esquema de salida
{'type': 'object', '$defs': {'Meta': {'type': 'object', 'title': 'Meta', 'required': ['service', 'version'], 'properties': {'ai': {'anyOf': [{'$ref': '#/$defs/AIReport'}, {'type': 'null'}], 'default': None}, 'api': {'type': 'string', 'title': 'Api', 'default': 'v1'}, 'mode': {'$ref': '#/$defs/Mode', 'default': 'static'}, 'engine': {'type': 'object', 'title': 'Engine', 'additionalProperties': {'type': 'string'}}, 'service': {'type': 'string', 'title': 'Service'}, 'version': {'type': 'string', 'title': 'Version'}, 'request_id': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Request Id', 'default': None}, 'duration_ms': {'type': 'integer', 'title': 'Duration Ms', 'default': 0}}, 'description': 'Provenance of a response, so results stay reproducible.'}, 'Mode': {'enum': ['static', 'repair', 'execute'], 'type': 'string', 'title': 'Mode', 'description': 'How much work the service is allowed to do.\n\n``static``\n Never executes the submitted code. Parsing, linting and security\n scanning only. This is the default and the only mode that is safe to\n expose without a container sandbox.\n``repair``\n Static mode plus deterministic auto-fixes and refactors.\n``execute``\n Repair plus running the code inside a sandbox to prove it works.'}, 'AIReport': {'type': 'object', 'title': 'AIReport', 'properties': {'calls': {'type': 'integer', 'title': 'Calls', 'default': 0}, 'detail': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Detail', 'default': None}, 'backend': {'type': 'string', 'title': 'Backend', 'default': ''}, 'outcome': {'type': 'string', 'title': 'Outcome', 'default': 'not-consulted'}, 'consulted': {'type': 'boolean', 'title': 'Consulted', 'default': False}, 'duration_ms': {'type': 'integer', 'title': 'Duration Ms', 'default': 0}}, 'description': 'What the optional AI refinement backend contributed.\n\nAbsent from a response when no backend is configured. Present but with\n``consulted=False`` when the deterministic fixers settled the code on their\nown, so a caller can tell "the model was never needed" apart from "the\nmodel was asked and came back empty-handed".'}, 'Severity': {'enum': ['error', 'warning', 'info'], 'type': 'string', 'title': 'Severity', 'description': 'Severity of a single finding.'}, 'Diagnostic': {'type': 'object', 'title': 'Diagnostic', 'required': ['severity', 'rule', 'message'], 'properties': {'line': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Line', 'default': None}, 'rule': {'type': 'string', 'title': 'Rule'}, 'column': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Column', 'default': None}, 'message': {'type': 'string', 'title': 'Message'}, 'severity': {'$ref': '#/$defs/Severity'}}, 'description': 'A correctness problem found in the code.'}, 'RuntimeReport': {'type': 'object', 'title': 'RuntimeReport', 'properties': {'ran': {'type': 'boolean', 'title': 'Ran', 'default': False}, 'stderr': {'type': 'string', 'title': 'Stderr', 'default': ''}, 'stdout': {'type': 'string', 'title': 'Stdout', 'default': ''}, 'sandbox': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Sandbox', 'default': None}, 'timed_out': {'type': 'boolean', 'title': 'Timed Out', 'default': False}, 'returncode': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Returncode', 'default': None}, 'duration_ms': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Duration Ms', 'default': None}}, 'description': 'Outcome of executing the code in a sandbox.'}, 'SecurityFinding': {'type': 'object', 'title': 'SecurityFinding', 'required': ['tool', 'id', 'severity', 'message'], 'properties': {'id': {'type': 'string', 'title': 'Id'}, 'cwe': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Cwe', 'default': None}, 'line': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Line', 'default': None}, 'tool': {'type': 'string', 'title': 'Tool'}, 'message': {'type': 'string', 'title': 'Message'}, 'severity': {'$ref': '#/$defs/Severity'}, 'confidence': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Confidence', 'default': None}}, 'description': 'A security problem reported by one of the scanners.'}}, 'title': 'ValidateResponse', 'required': ['valid', 'score', 'meta'], 'properties': {'meta': {'$ref': '#/$defs/Meta'}, 'fixes': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Fixes'}, 'score': {'type': 'number', 'title': 'Score', 'maximum': 1.0, 'minimum': 0.0}, 'valid': {'type': 'boolean', 'title': 'Valid'}, 'runtime': {'$ref': '#/$defs/RuntimeReport'}, 'security': {'type': 'array', 'items': {'$ref': '#/$defs/SecurityFinding'}, 'title': 'Security'}, 'fixed_code': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Fixed Code', 'default': None}, 'transpiled': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Transpiled', 'default': None}, 'diagnostics': {'type': 'array', 'items': {'$ref': '#/$defs/Diagnostic'}, 'title': 'Diagnostics'}}, 'description': 'The result an agent gets back and pays for.'}
Esquema de entrada
{'type': 'object', '$defs': {'Mode': {'enum': ['static', 'repair', 'execute'], 'type': 'string', 'title': 'Mode', 'description': 'How much work the service is allowed to do.\n\n``static``\n Never executes the submitted code. Parsing, linting and security\n scanning only. This is the default and the only mode that is safe to\n expose without a container sandbox.\n``repair``\n Static mode plus deterministic auto-fixes and refactors.\n``execute``\n Repair plus running the code inside a sandbox to prove it works.'}, 'Options': {'type': 'object', 'title': 'Options', 'properties': {'examples': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Examples', 'default': None, 'description': "What the code is supposed to do, as doctest lines ('>>> f(2)' on one line, '4' on the next) or as plain assertions ('assert f(2) == 4'). In execute mode they are run in the sandbox: an example that does not hold is a 'python:example-mismatch' error and makes the response invalid, and repair searches for a single-token change that makes every one of them pass. This is the only way the service can tell code that runs from code that is right, so send it whenever you know what you asked for. Examples already written in the code ('>>> ' in any string) are used the same way without this option. Ignored in the other modes, which run nothing."}, 'optimize': {'type': 'boolean', 'title': 'Optimize', 'default': False, 'description': 'Run constant folding / dead-code elimination. Off by default: the optimiser rewrites the program, and a rewrite is only returned when it provably keeps every effectful construct.'}, 'timeout_s': {'anyOf': [{'type': 'number', 'maximum': 60, 'exclusiveMinimum': 0}, {'type': 'null'}], 'title': 'Timeout S', 'default': None, 'description': "Wall-clock budget for running the code. Omitted means the service's own default (MSVC_DEFAULT_TIMEOUT_S). Only execute mode runs anything; a deployment may cap this below the 60 the schema allows and refuses a larger value."}, 'transpile_to': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Transpile To', 'default': None, 'description': "Target language for a transpiled copy, e.g. 'javascript'. The copy is made from the code as it ends up, so in repair and execute mode it translates the repaired source rather than the submitted one."}, 'max_iterations': {'type': 'integer', 'title': 'Max Iterations', 'default': 3, 'maximum': 10, 'minimum': 1, 'description': 'How many fix/verify rounds the repair loop may take. Ignored in static mode, which changes nothing.'}, 'expected_output': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Expected Output', 'default': None, 'description': "Exact stdout the code must produce in execute mode. A mismatch is an 'expected-output' diagnostic and makes the response invalid, even when the program exits cleanly. Ignored in the other modes, which produce no output."}}, 'description': 'Per-request tuning knobs.'}, 'Language': {'enum': ['python', 'javascript', 'typescript', 'html', 'sql', 'solidity', 'other'], 'type': 'string', 'title': 'Language', 'description': 'Source languages a validator can accept.'}}, 'title': 'ValidateRequest', 'required': ['code'], 'properties': {'code': {'type': 'string', 'title': 'Code', 'maxLength': 200000, 'minLength': 1, 'description': 'The source to check, as a whole file where possible: diagnostics carry the line and column of the text you send, and a fragment hides the imports and definitions the type check needs. A deployment may accept fewer bytes than the 200000 here.'}, 'options': {'$ref': '#/$defs/Options', 'description': 'Tuning knobs. Most of them only take effect in the mode that does the corresponding work; see each field.'}, 'language': {'$ref': '#/$defs/Language', 'default': 'python', 'description': 'The language of the code. A service that does not handle it refuses the request rather than guessing; the enum is shared across services, so it lists more than any one of them accepts.'}}, 'description': 'A validation job submitted by an agent.'}
Esquema de salida
{'type': 'object', '$defs': {'Meta': {'type': 'object', 'title': 'Meta', 'required': ['service', 'version'], 'properties': {'ai': {'anyOf': [{'$ref': '#/$defs/AIReport'}, {'type': 'null'}], 'default': None}, 'api': {'type': 'string', 'title': 'Api', 'default': 'v1'}, 'mode': {'$ref': '#/$defs/Mode', 'default': 'static'}, 'engine': {'type': 'object', 'title': 'Engine', 'additionalProperties': {'type': 'string'}}, 'service': {'type': 'string', 'title': 'Service'}, 'version': {'type': 'string', 'title': 'Version'}, 'request_id': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Request Id', 'default': None}, 'duration_ms': {'type': 'integer', 'title': 'Duration Ms', 'default': 0}}, 'description': 'Provenance of a response, so results stay reproducible.'}, 'Mode': {'enum': ['static', 'repair', 'execute'], 'type': 'string', 'title': 'Mode', 'description': 'How much work the service is allowed to do.\n\n``static``\n Never executes the submitted code. Parsing, linting and security\n scanning only. This is the default and the only mode that is safe to\n expose without a container sandbox.\n``repair``\n Static mode plus deterministic auto-fixes and refactors.\n``execute``\n Repair plus running the code inside a sandbox to prove it works.'}, 'AIReport': {'type': 'object', 'title': 'AIReport', 'properties': {'calls': {'type': 'integer', 'title': 'Calls', 'default': 0}, 'detail': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Detail', 'default': None}, 'backend': {'type': 'string', 'title': 'Backend', 'default': ''}, 'outcome': {'type': 'string', 'title': 'Outcome', 'default': 'not-consulted'}, 'consulted': {'type': 'boolean', 'title': 'Consulted', 'default': False}, 'duration_ms': {'type': 'integer', 'title': 'Duration Ms', 'default': 0}}, 'description': 'What the optional AI refinement backend contributed.\n\nAbsent from a response when no backend is configured. Present but with\n``consulted=False`` when the deterministic fixers settled the code on their\nown, so a caller can tell "the model was never needed" apart from "the\nmodel was asked and came back empty-handed".'}, 'Severity': {'enum': ['error', 'warning', 'info'], 'type': 'string', 'title': 'Severity', 'description': 'Severity of a single finding.'}, 'Diagnostic': {'type': 'object', 'title': 'Diagnostic', 'required': ['severity', 'rule', 'message'], 'properties': {'line': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Line', 'default': None}, 'rule': {'type': 'string', 'title': 'Rule'}, 'column': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Column', 'default': None}, 'message': {'type': 'string', 'title': 'Message'}, 'severity': {'$ref': '#/$defs/Severity'}}, 'description': 'A correctness problem found in the code.'}, 'RuntimeReport': {'type': 'object', 'title': 'RuntimeReport', 'properties': {'ran': {'type': 'boolean', 'title': 'Ran', 'default': False}, 'stderr': {'type': 'string', 'title': 'Stderr', 'default': ''}, 'stdout': {'type': 'string', 'title': 'Stdout', 'default': ''}, 'sandbox': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Sandbox', 'default': None}, 'timed_out': {'type': 'boolean', 'title': 'Timed Out', 'default': False}, 'returncode': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Returncode', 'default': None}, 'duration_ms': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Duration Ms', 'default': None}}, 'description': 'Outcome of executing the code in a sandbox.'}, 'SecurityFinding': {'type': 'object', 'title': 'SecurityFinding', 'required': ['tool', 'id', 'severity', 'message'], 'properties': {'id': {'type': 'string', 'title': 'Id'}, 'cwe': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Cwe', 'default': None}, 'line': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Line', 'default': None}, 'tool': {'type': 'string', 'title': 'Tool'}, 'message': {'type': 'string', 'title': 'Message'}, 'severity': {'$ref': '#/$defs/Severity'}, 'confidence': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Confidence', 'default': None}}, 'description': 'A security problem reported by one of the scanners.'}}, 'title': 'ValidateResponse', 'required': ['valid', 'score', 'meta'], 'properties': {'meta': {'$ref': '#/$defs/Meta'}, 'fixes': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Fixes'}, 'score': {'type': 'number', 'title': 'Score', 'maximum': 1.0, 'minimum': 0.0}, 'valid': {'type': 'boolean', 'title': 'Valid'}, 'runtime': {'$ref': '#/$defs/RuntimeReport'}, 'security': {'type': 'array', 'items': {'$ref': '#/$defs/SecurityFinding'}, 'title': 'Security'}, 'fixed_code': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Fixed Code', 'default': None}, 'transpiled': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Transpiled', 'default': None}, 'diagnostics': {'type': 'array', 'items': {'$ref': '#/$defs/Diagnostic'}, 'title': 'Diagnostics'}}, 'description': 'The result an agent gets back and pays for.'}
Esquema de entrada
{'type': 'object', '$defs': {'Mode': {'enum': ['static', 'repair', 'execute'], 'type': 'string', 'title': 'Mode', 'description': 'How much work the service is allowed to do.\n\n``static``\n Never executes the submitted code. Parsing, linting and security\n scanning only. This is the default and the only mode that is safe to\n expose without a container sandbox.\n``repair``\n Static mode plus deterministic auto-fixes and refactors.\n``execute``\n Repair plus running the code inside a sandbox to prove it works.'}, 'Options': {'type': 'object', 'title': 'Options', 'properties': {'examples': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Examples', 'default': None, 'description': "What the code is supposed to do, as doctest lines ('>>> f(2)' on one line, '4' on the next) or as plain assertions ('assert f(2) == 4'). In execute mode they are run in the sandbox: an example that does not hold is a 'python:example-mismatch' error and makes the response invalid, and repair searches for a single-token change that makes every one of them pass. This is the only way the service can tell code that runs from code that is right, so send it whenever you know what you asked for. Examples already written in the code ('>>> ' in any string) are used the same way without this option. Ignored in the other modes, which run nothing."}, 'optimize': {'type': 'boolean', 'title': 'Optimize', 'default': False, 'description': 'Run constant folding / dead-code elimination. Off by default: the optimiser rewrites the program, and a rewrite is only returned when it provably keeps every effectful construct.'}, 'timeout_s': {'anyOf': [{'type': 'number', 'maximum': 60, 'exclusiveMinimum': 0}, {'type': 'null'}], 'title': 'Timeout S', 'default': None, 'description': "Wall-clock budget for running the code. Omitted means the service's own default (MSVC_DEFAULT_TIMEOUT_S). Only execute mode runs anything; a deployment may cap this below the 60 the schema allows and refuses a larger value."}, 'transpile_to': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Transpile To', 'default': None, 'description': "Target language for a transpiled copy, e.g. 'javascript'. The copy is made from the code as it ends up, so in repair and execute mode it translates the repaired source rather than the submitted one."}, 'max_iterations': {'type': 'integer', 'title': 'Max Iterations', 'default': 3, 'maximum': 10, 'minimum': 1, 'description': 'How many fix/verify rounds the repair loop may take. Ignored in static mode, which changes nothing.'}, 'expected_output': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Expected Output', 'default': None, 'description': "Exact stdout the code must produce in execute mode. A mismatch is an 'expected-output' diagnostic and makes the response invalid, even when the program exits cleanly. Ignored in the other modes, which produce no output."}}, 'description': 'Per-request tuning knobs.'}, 'Language': {'enum': ['python', 'javascript', 'typescript', 'html', 'sql', 'solidity', 'other'], 'type': 'string', 'title': 'Language', 'description': 'Source languages a validator can accept.'}}, 'title': 'ValidateRequest', 'required': ['code'], 'properties': {'code': {'type': 'string', 'title': 'Code', 'maxLength': 200000, 'minLength': 1, 'description': 'The source to check, as a whole file where possible: diagnostics carry the line and column of the text you send, and a fragment hides the imports and definitions the type check needs. A deployment may accept fewer bytes than the 200000 here.'}, 'options': {'$ref': '#/$defs/Options', 'description': 'Tuning knobs. Most of them only take effect in the mode that does the corresponding work; see each field.'}, 'language': {'$ref': '#/$defs/Language', 'default': 'python', 'description': 'The language of the code. A service that does not handle it refuses the request rather than guessing; the enum is shared across services, so it lists more than any one of them accepts.'}}, 'description': 'A validation job submitted by an agent.'}
Esquema de salida
{'type': 'object', '$defs': {'Meta': {'type': 'object', 'title': 'Meta', 'required': ['service', 'version'], 'properties': {'ai': {'anyOf': [{'$ref': '#/$defs/AIReport'}, {'type': 'null'}], 'default': None}, 'api': {'type': 'string', 'title': 'Api', 'default': 'v1'}, 'mode': {'$ref': '#/$defs/Mode', 'default': 'static'}, 'engine': {'type': 'object', 'title': 'Engine', 'additionalProperties': {'type': 'string'}}, 'service': {'type': 'string', 'title': 'Service'}, 'version': {'type': 'string', 'title': 'Version'}, 'request_id': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Request Id', 'default': None}, 'duration_ms': {'type': 'integer', 'title': 'Duration Ms', 'default': 0}}, 'description': 'Provenance of a response, so results stay reproducible.'}, 'Mode': {'enum': ['static', 'repair', 'execute'], 'type': 'string', 'title': 'Mode', 'description': 'How much work the service is allowed to do.\n\n``static``\n Never executes the submitted code. Parsing, linting and security\n scanning only. This is the default and the only mode that is safe to\n expose without a container sandbox.\n``repair``\n Static mode plus deterministic auto-fixes and refactors.\n``execute``\n Repair plus running the code inside a sandbox to prove it works.'}, 'AIReport': {'type': 'object', 'title': 'AIReport', 'properties': {'calls': {'type': 'integer', 'title': 'Calls', 'default': 0}, 'detail': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Detail', 'default': None}, 'backend': {'type': 'string', 'title': 'Backend', 'default': ''}, 'outcome': {'type': 'string', 'title': 'Outcome', 'default': 'not-consulted'}, 'consulted': {'type': 'boolean', 'title': 'Consulted', 'default': False}, 'duration_ms': {'type': 'integer', 'title': 'Duration Ms', 'default': 0}}, 'description': 'What the optional AI refinement backend contributed.\n\nAbsent from a response when no backend is configured. Present but with\n``consulted=False`` when the deterministic fixers settled the code on their\nown, so a caller can tell "the model was never needed" apart from "the\nmodel was asked and came back empty-handed".'}, 'Severity': {'enum': ['error', 'warning', 'info'], 'type': 'string', 'title': 'Severity', 'description': 'Severity of a single finding.'}, 'Diagnostic': {'type': 'object', 'title': 'Diagnostic', 'required': ['severity', 'rule', 'message'], 'properties': {'line': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Line', 'default': None}, 'rule': {'type': 'string', 'title': 'Rule'}, 'column': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Column', 'default': None}, 'message': {'type': 'string', 'title': 'Message'}, 'severity': {'$ref': '#/$defs/Severity'}}, 'description': 'A correctness problem found in the code.'}, 'RuntimeReport': {'type': 'object', 'title': 'RuntimeReport', 'properties': {'ran': {'type': 'boolean', 'title': 'Ran', 'default': False}, 'stderr': {'type': 'string', 'title': 'Stderr', 'default': ''}, 'stdout': {'type': 'string', 'title': 'Stdout', 'default': ''}, 'sandbox': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Sandbox', 'default': None}, 'timed_out': {'type': 'boolean', 'title': 'Timed Out', 'default': False}, 'returncode': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Returncode', 'default': None}, 'duration_ms': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Duration Ms', 'default': None}}, 'description': 'Outcome of executing the code in a sandbox.'}, 'SecurityFinding': {'type': 'object', 'title': 'SecurityFinding', 'required': ['tool', 'id', 'severity', 'message'], 'properties': {'id': {'type': 'string', 'title': 'Id'}, 'cwe': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Cwe', 'default': None}, 'line': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Line', 'default': None}, 'tool': {'type': 'string', 'title': 'Tool'}, 'message': {'type': 'string', 'title': 'Message'}, 'severity': {'$ref': '#/$defs/Severity'}, 'confidence': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Confidence', 'default': None}}, 'description': 'A security problem reported by one of the scanners.'}}, 'title': 'ValidateResponse', 'required': ['valid', 'score', 'meta'], 'properties': {'meta': {'$ref': '#/$defs/Meta'}, 'fixes': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Fixes'}, 'score': {'type': 'number', 'title': 'Score', 'maximum': 1.0, 'minimum': 0.0}, 'valid': {'type': 'boolean', 'title': 'Valid'}, 'runtime': {'$ref': '#/$defs/RuntimeReport'}, 'security': {'type': 'array', 'items': {'$ref': '#/$defs/SecurityFinding'}, 'title': 'Security'}, 'fixed_code': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Fixed Code', 'default': None}, 'transpiled': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Transpiled', 'default': None}, 'diagnostics': {'type': 'array', 'items': {'$ref': '#/$defs/Diagnostic'}, 'title': 'Diagnostics'}}, 'description': 'The result an agent gets back and pays for.'}
Cambios recientes en herramientas
Servidores MCP similares
hyperion
Acts as a paid MCP tool marketplace and utility gateway with server discovery, HTTP and JavaScript tools, research, data conversi…
Vee3
Manages Clerk authentication infrastructure, including users, organizations, domains, sessions, tokens, OAuth, SSO, machines, per…
IA-QA — 130+ QA & Dev Tools for AI Agents
Provides deterministic QA, evaluation, testing, code analysis, prompt and RAG checks, model comparison, and web security diagnost…
validoria-mcp
Runs continuous website, API, and webshop tests covering security, SEO, performance, accessibility, browser journeys, and inciden…
HubVibe: Pay-per-Call Tools for AI Agents: Web Search, Email Verify, KYC, Stocks, Crypto, News, Data
Offers paid utilities for web audits, HTTP fetching and extraction, BigQuery analysis, LLM processing, code execution, blockchain…
developer-tools
Provides general-purpose developer utilities for encoding, hashing, encryption, JSON, HTML, CSS, networking, and related data tra…
Qiniso
Provides deterministic formatting, parsing, holiday and tax lookups, address handling, and checksum or structure validation for i…
ContrastAPI
Provides security research and assessment tools covering CVEs, IOCs, dependencies, secrets, injection risks, HTTP headers, domain…