omp_get_model
Retrieves the local omp default and per-role model configuration, presets, and thinking depth, and optionally lists or filters available models to verify which model is in use.
Instructions
查询本机 omp 当前默认配置的模型、各角色模型(default/smol/slow/plan)、预设与思考深度,也可按需列出或搜索本机可用模型列表。重要提示:调用本工具及向用户汇报结果时,必须明确告知用户当前通过 omp 调用的模型名称(以返回结果中的模型提示行为准)。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omp_get_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | 当 list_available 为 true 时,按 provider/id/name 子串过滤模型。 | |
| list_available | No | 是否同时查询 `omp models --json` 返回本机可用模型列表(默认 false)。 |