Skip to content

API Reference parrot_tools.codeinterpreter

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.codeinterpreter

View source

CodeInterpreterTool - Agent-as-Tool for comprehensive code analysis.

This package provides a Parrot Tool for analyzing, documenting, testing, debugging, and explaining Python code.

Main components:

  • CodeInterpreterTool: Main Parrot tool class (inherits from AbstractTool)
  • Response models: Pydantic models for structured outputs
  • Isolated execution: Docker-based code execution environment
  • Internal tools: Static analysis, execution, and file operations

Alias BaseCodeResponse

Re-exported from parrot_tools.codeinterpreter.models.BaseCodeResponse.

Alias BugIssue

Re-exported from parrot_tools.codeinterpreter.models.BugIssue.

Alias ClassComponent

Re-exported from parrot_tools.codeinterpreter.models.ClassComponent.

Alias CodeAnalysisResponse

Re-exported from parrot_tools.codeinterpreter.models.CodeAnalysisResponse.

Alias CodeFlowStep

Re-exported from parrot_tools.codeinterpreter.models.CodeFlowStep.

Alias CodeInterpreterArgs

Re-exported from parrot_tools.codeinterpreter.tool.CodeInterpreterArgs.

Alias CodeInterpreterTool

Re-exported from parrot_tools.codeinterpreter.tool.CodeInterpreterTool.

Alias CodeReference

Re-exported from parrot_tools.codeinterpreter.models.CodeReference.

Alias ComplexityMetrics

Re-exported from parrot_tools.codeinterpreter.models.ComplexityMetrics.

Alias ConceptExplanation

Re-exported from parrot_tools.codeinterpreter.models.ConceptExplanation.

Alias CoverageGap

Re-exported from parrot_tools.codeinterpreter.models.CoverageGap.

Alias DebugResponse

Re-exported from parrot_tools.codeinterpreter.models.DebugResponse.

Alias Dependency

Re-exported from parrot_tools.codeinterpreter.models.Dependency.

Alias DocstringFormat

Re-exported from parrot_tools.codeinterpreter.models.DocstringFormat.

Alias DocumentationResponse

Re-exported from parrot_tools.codeinterpreter.models.DocumentationResponse.

Alias DocumentedElement

Re-exported from parrot_tools.codeinterpreter.models.DocumentedElement.

Alias ExecutionResult

Re-exported from parrot_tools.codeinterpreter.executor.ExecutionResult.

Alias ExecutionStatus

Re-exported from parrot_tools.codeinterpreter.models.ExecutionStatus.

Alias ExplanationResponse

Re-exported from parrot_tools.codeinterpreter.models.ExplanationResponse.

Alias FileOperationsTool

Re-exported from parrot_tools.codeinterpreter.internals.FileOperationsTool.

Alias FunctionComponent

Re-exported from parrot_tools.codeinterpreter.models.FunctionComponent.

Alias GeneratedTest

Re-exported from parrot_tools.codeinterpreter.models.GeneratedTest.

Alias IsolatedExecutor

Re-exported from parrot_tools.codeinterpreter.executor.IsolatedExecutor.

Alias OperationType

Re-exported from parrot_tools.codeinterpreter.models.OperationType.

Alias PythonExecutionTool

Re-exported from parrot_tools.codeinterpreter.internals.PythonExecutionTool.

Alias QualityObservation

Re-exported from parrot_tools.codeinterpreter.models.QualityObservation.

Alias Severity

Re-exported from parrot_tools.codeinterpreter.models.Severity.

Alias StaticAnalysisTool

Re-exported from parrot_tools.codeinterpreter.internals.StaticAnalysisTool.

Alias SubprocessExecutor

Re-exported from parrot_tools.codeinterpreter.executor.SubprocessExecutor.

Alias TestGenerationResponse

Re-exported from parrot_tools.codeinterpreter.models.TestGenerationResponse.

Alias TestType

Re-exported from parrot_tools.codeinterpreter.models.TestType.

Alias calculate_code_hash

Re-exported from parrot_tools.codeinterpreter.internals.calculate_code_hash.

Alias create_executor

Re-exported from parrot_tools.codeinterpreter.executor.create_executor.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally