Generates a JSON Schema-style description of the bus API. Include this in LLM system prompts so the model knows exactly what methods are available and their signatures — reduces hallucinated method calls.
const schema = busApiSchema();const systemPrompt = `Use the vapor-chamber bus API:\n${JSON.stringify(schema, null, 2)}`; Copy
const schema = busApiSchema();const systemPrompt = `Use the vapor-chamber bus API:\n${JSON.stringify(schema, null, 2)}`;
Generates a JSON Schema-style description of the bus API. Include this in LLM system prompts so the model knows exactly what methods are available and their signatures — reduces hallucinated method calls.