Know which tools your server executes
Application tools describe functions that your code executes. SERV Tools are control markers that SERV consumes before the model runs. SERV recognizes a fixed set of marker names; use the documented names for SERV features. You can put both kinds in onetools array. SERV removes its marker tools and forwards your application tools unchanged. The model can call get_order, but it never calls serv_prompt_guard or serv_shadow_agent.
serv_.
State when the model should call each tool, define a strict input schema, and validate every argument before performing a side effect. Put the tool-use policy in the system prompt. For example: “Use get_order for every order-status question. Never guess an order status.”
Combine application tools with SERV Tools
The same request can enable SERV protection, quality validation, and an application function:get_order reaches the model. Your server remains responsible for executing get_order, checking the arguments, and handling the follow-up conversation. Setting x-openserv-disable-braid: true bypasses the SERV Tools as well as reasoning-prompt generation.
