Skip to content

MCP tools

Every tool pyeye registers, with its parameters, types and defaults, read from the live registration.

Core tools

configure_packages, expand, inspect, outline, resolve, resolve_at, trace

configure_packages

Parameter Type Default
packages list[str] \| None null
namespaces dict[str, list[str]] \| None null
standalone_dirs list[str] \| None null
save bool true
project_path str "."

expand

Parameter Type Default
handle str required
edge str required
project_path str "."
max_stubs int \| None 200

inspect

Parameter Type Default
handle str required
project_path str "."

outline

Parameter Type Default
handle str required
project_path str "."
max_depth int \| None 1
max_nodes int 200

resolve

Parameter Type Default
identifier str required
project_path str "."
max_candidates int \| None 50

resolve_at

Parameter Type Default
file str required
line int required
column int required
project_path str "."

trace

Parameter Type Default
start str \| list[str] required
follow list[str] required
project_path str "."
max_depth int 3
max_nodes int 50
stop_when dict \| None null

Admin tools

Registered only when PYEYE_ENABLE_PERFORMANCE_METRICS is set.

get_connection_diagnostics, get_performance_metrics

get_connection_diagnostics

Parameter Type Default

get_performance_metrics

Parameter Type Default
metric_name str \| None null
export_format str "json"

Plugin tools

Registered when the plugin's framework is detected in the project.

Django

find_django_migrations, find_django_models, find_django_templates, find_django_urls, find_django_views

find_django_migrations

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_django_models

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_django_templates

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_django_urls

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_django_views

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

Flask

find_cli_commands, find_error_handlers, find_flask_blueprints, find_flask_config, find_flask_extensions, find_flask_routes, find_flask_templates, find_flask_views

find_cli_commands

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_error_handlers

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_flask_blueprints

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_flask_config

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_flask_extensions

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_flask_routes

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_flask_templates

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_flask_views

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

Pydantic

find_computed_fields, find_field_validators, find_model_config, find_pydantic_models, find_validators, get_model_schema, trace_model_inheritance

find_computed_fields

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_field_validators

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_model_config

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

find_pydantic_models

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
max_unplaced int \| None 50
envelope bool false
project_path str \| None null

find_validators

Parameter Type Default
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

get_model_schema

Parameter Type Default
model_name str required
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null

trace_model_inheritance

Parameter Type Default
model_name str required
scope str \| list[str] \| None null (omitted: "main" unless scope_defaults overrides it)
envelope bool false
project_path str \| None null