
Separate SERV Tools from application tools
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_.
Describe when a tool should be used, define a strict input schema, and validate the arguments before performing side effects. The system prompt should state the tool-use policy, 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.
