get_conan_profile
Retrieves Conan profile configuration for host and build environments. Use to check compiler, architecture, and build settings before listing packages.
Instructions
Get Conan profile configuration.
This tool should be called when the user mentions:
- Their platform (Windows, macOS, Linux)
- Their compiler (gcc, clang, msvc, etc.)
- Their architecture (x86_64, arm64, etc.)
- Build configurations
- When they want to list packages for their specific platform
- When they need context about their Conan environment
- When they want to check a specific profile configuration
This is typically a prerequisite step before listing packages or making
platform-specific recommendations, as it provides essential context about
the user's build environment.
Args:
profile: Optional profile name to retrieve. If not specified, retrieves the default profile.
Returns:
Dictionary containing both host and build profile configurations.
The dictionary structure includes:
- "host": Host profile settings (compiler, arch, build_type, etc.)
- "build": Build profile settings (compiler, arch, build_type, etc.)
- Additional configuration like package_settings, options, tool_requires, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Specific profile name to retrieve. If not provided, uses the default profile. |