Skip to contents

Use Console with ellmer

console_tool()
Use MCP Console as an ellmer tool

Configure sessions

materialize_console_config() prune_console_config() discover_console_config() read_console_config()
Discover, materialize, prune, and read Console configuration
ConfigDiscovery() ConsoleConfig()
Configure a Console session

Runtime selection and dependency preparation

RConfig()
Select R and configure its package preparation
current_r()
Select the current R installation
ExistingPython() ManagedPython() FirstAvailablePython()
Select a Python environment
StartupConfig()
Configure session startup source
ResolverConfig()
Configure dependency preparation permissions and environment

Permissions

Tool presentation

ToolParameterConfig() ToolConfig()
Customize the exposed tool definition

Configuration helpers

resolve_console_config()
Materialize Console configuration
ConfigDiscovery() ConsoleConfig()
Configure a Console session