Get AI tool schema
AI Tools & Configuration
Get AI Tool Schema
Returns AI tool schema definitions for the VM environment, including available tools and environment capabilities.
GET
Get AI tool schema
Returns AI tool schema definitions for the VM environment, including available tools and environment capabilities. This endpoint is designed to provide AI agents with the exact tool schemas they need to interact with the development environment.Documentation Index
Fetch the complete documentation index at: https://docs.gentility.ai/llms.txt
Use this file to discover all available pages before exploring further.
Use Cases
- AI Agent Integration: Provide tool schemas directly to AI agents for code execution
- Dynamic Capability Discovery: Determine what tools and packages are available in a specific environment
- Environment Introspection: Understand the capabilities and configuration of a VM instance
- Tool Configuration: Get structured information about available development tools
Response Structure
The response includes comprehensive information about the instance and available tools:Tool Schema Examples
Python Data Science Environment
For a profile configured with Python, pandas, matplotlib, and Jupyter:Node.js Development Environment
For a Node.js profile with npm, Express, and development tools:Dynamic Schema Generation
The tool schemas are dynamically generated based on:- Profile Configuration: Base packages and language runtime
- Installed Packages: Detected packages and their versions
- Environment Capabilities: Available tools and utilities
- Usage Examples: Context-aware examples based on the environment
Integration Patterns
OpenAI Function Calling
The schemas are compatible with OpenAI’s function calling format:Anthropic Claude
The schemas work with Claude’s tool use:Error Responses
Instance Not Ready
Instance Not Found
Best Practices
- Schema Caching: Tool schemas are relatively stable - cache them to reduce API calls
- Environment Verification: Check the
instance_statusto ensure the instance is ready - Tool Selection: Use appropriate tools based on the available environment capabilities
- Error Handling: Always verify the instance exists and is ready before using tool schemas
- Profile Matching: Different profiles will have different tool capabilities - choose the right profile for your use case
Authorizations
API key authentication using Bearer token format: 'Bearer rk_live_'
Path Parameters
UUID of the profile
Room identifier