Hyperbolic Integration and Safety Procedures

implementationChallenge

Prompt Content

Simulate the integration with Hyperbolic (or a similar low-code platform) by creating a mock API endpoint that your AI SDK tools can call. Implement a safety procedure: if the 'check_fuel_level' tool returns below 20%, the AI should automatically suggest an emergency landing procedure using Claude Sonnet 4, which would then call a `log_emergency()` tool. Ensure your application manages the simulated flight state.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations