Skip to main content
Compiles the canvas (or uses cached compilation) and sends a test message through the sandbox. Tool calls are simulated with mock data — no real external requests are made.

Parameters

  • message (string, required) — The test message (max 4000 chars).
  • history (array, optional) — Up to 10 previous messages for multi-turn testing. Each has role (“user” or “assistant”) and content.

Response

Sandbox Constraints

  • No real external HTTP requests
  • Tool calls return simulated mock data
  • Responses are concise for testing
  • Credits are debited at the standard rate
Returns 422 if the canvas fails compilation.