Back to Documentation
Dynamic Tool Injection
How LOB dynamically injects rules and context directly into tool schemas.
Rather than bloating system prompts with custom project rules (which agents frequently forget or hallucinate), LOB injects rules directly into the MCP tool description fields.
Before listing tools via tools/list, LOB pulls store_triggers and project rules from lob.toml and appends them to the tool schemas. This guarantees that the agent receives the relevant constraints at the precise moment it selects a tool, yielding 99.9% compliance with zero token overhead.