get_endpoint_schema
Retrieve the precise OpenAPI schema for specific endpoints to understand request parameters, response structures, and related endpoints. Ideal for developers building on Ramp's platform.
Instructions
🎯 GET PRECISE ENDPOINT SCHEMA - Returns exact OpenAPI schema for specific endpoints.
Perfect for when you need:
• Exact request parameter names and types
• Response field names and structures
• Required vs optional parameters
• Related endpoints for the same use case
Example queries this replaces:
• "bills endpoint response schema fields amount vendor status" → Use this tool with /developer/v1/bills
• "API pagination limit page_size next cursor" → Get schema for any paginated endpoint
• "cards creation request parameters" → Use this tool with /developer/v1/cards
Usage: Provide an endpoint path (and optionally method) to get the complete technical specification.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endpoint | Yes | The endpoint path (e.g., '/developer/v1/bills', '/developer/v1/limits') | |
include_related | No | Include related endpoints for the same use case | |
method | No | HTTP method (GET, POST, PUT, etc.). If not specified, will show most relevant method. |