You pretty much get this for free. The box doing the inference has one job, to do inference - there's no reason for it to interpret the inputs/outputs in any way, so as long as it doesn't do something stupid like modify the output stream and echo out the model weights, you're fine.
Content filtering, interpreting tool calls, etc can all happen downstream on boxes that don't have access to the weights.
You pretty much get this for free. The box doing the inference has one job, to do inference - there's no reason for it to interpret the inputs/outputs in any way, so as long as it doesn't do something stupid like modify the output stream and echo out the model weights, you're fine.
Content filtering, interpreting tool calls, etc can all happen downstream on boxes that don't have access to the weights.