Prompt
This prompt alone will, however, only influence the model’s behavior but doesn’t guarantee the full adherence to the schema. For this you still need to construct your own grammar and enforce the schema during sampling.
### Built-in tools
During the training of the `gpt-oss` models, they were trained with two common tools to browse for information and execute python code to improve its results.
If you are trying to build this functionality, you should use the format below to improve reliability and accuracy.
These tools should be defined in the [system message](#system-message-format) not in the developer message by adding a `# Tools` section.
#### Browser tool
To define the browser tool add it to the system prompt section: