state_vector_to_elements
Convert a spacecraft's position and velocity into classical orbital elements for orbit characterization.
Instructions
Convert state vector to classical orbital elements.
Args: state_vector: Dict with position_m and velocity_ms arrays
Returns: JSON string with classical orbital elements (a, e, i, RAAN, omega, nu).
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": {
"state_vector": "<state_vector>"
},
"name": "state_vector_to_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state_vector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |