---
title: "oz0 model map set"
description: "The source is an alias, <provider>/<model>, or <provider>/* for every model of a provider."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/model/map/set"
---
# oz0 model map set

> The source is an alias, \<provider>/\<model>, or \<provider>/* for every model of a provider.

For: Operators and developers looking up a command.

The source is an alias, \<provider>/\<model>, or \<provider>/* for every model of a provider. The target is an alias or a \<provider>/\<model>; for a \<provider>/* source it may be another provider, whose model names a naming preset translates (--preset; see: oz0 model map presets) or --name lists. Azure's deployment names are your own: give each with --name \<model>=\<deployment>. A rule with the same plugin, agent and source as one the tenant has replaces it.

--effort sets the reasoning effort the agents it reaches run at, over their own (low, medium, high, xhigh, max); a rule whose target is its source changes only the effort.

## Usage

```bash
oz0 model map set <source> <target> [flags]
```

## Flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --agent
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      one agent of --plugin
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --dry-run
      </code>
    </td>
    
    <td>
      bool
    </td>
    
    <td>
      
    </td>
    
    <td>
      check the rule and say whom it would reach; store nothing
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --effort
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      the reasoning effort the agents it reaches run at, over their own
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --id
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      the rule to change, when its plugin, agent or source changes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --json
      </code>
    </td>
    
    <td>
      bool
    </td>
    
    <td>
      
    </td>
    
    <td>
      print JSON instead of a table
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --name
      </code>
    </td>
    
    <td>
      stringArray
    </td>
    
    <td>
      
    </td>
    
    <td>
      &lt;model>=&lt;name>: the target's name for one of the source's models (repeatable; Azure's deployments)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --note
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      why, for people (one line)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --plugin
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      the plugin the rule is for (empty: the whole tenant)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --preset
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      the naming preset that translates a &lt;provider>/* source's model names for the target provider
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --tenant
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      tenant
    </td>
  </tr>
</tbody>
</table>

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
