optimize_launch_angle
Compute the optimal launch angle for a rocket to maximize altitude or achieve a target range. Input rocket geometry and optimization objective to receive the best angle and predicted performance.
Instructions
Optimize rocket launch angle for maximum altitude or range.
Args: rocket_geometry: Rocket geometry parameters target_range_m: Optional target range in meters optimize_for: Optimization objective ('altitude' or 'range') angle_bounds_deg: Launch angle bounds in degrees
Returns: JSON string with optimization results including optimal angle and resulting performance metrics.
Raises: No exceptions are raised directly; errors are returned as formatted strings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rocket_geometry": "<rocket_geometry>"
},
"name": "optimize_launch_angle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rocket_geometry | Yes | ||
| target_range_m | No | ||
| optimize_for | No | altitude | |
| angle_bounds_deg | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |