Create agent config
configs_createCompiles and saves an immutable agent configuration from YAML or JSON, returning the existing config when the same source still resolves to the same resources.
Instructions
Compiles and saves an immutable agent config (instruction, model, tools, machine_sources, and more) from YAML or JSON and returns it. Sending the same source again returns the existing config, as long as its names still resolve to the same resources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgID | Yes | Organization ID (org_...). | |
| source | Yes | Agent config source as YAML or JSON text, or, with source_format json, as a JSON object. | |
| projectID | Yes | Project ID (proj_...). | |
| source_format | Yes | Format of source: yaml or json. |