Prepare native studio session
prepare_studio_sessionPrepare a native session for your own agent in any studio named by studio_kind, using all canonical native toolsets and instructions. The exact source, catalog, objective and finite total credit ceiling are frozen. Zero-credit sessions require no paid approval. Positive ceilings require the creator approval link before starting; video needs include_video and its own separate approval. This call never invokes a model or provider. Additional GenAds homes and advertisers must be explicitly selected; native_policy is only for Film, Series or GenAds Social automation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | Yes | ||
| store_ids | No | Exact customer-owned stores for this GenAds session or task. Requires separate commerce:read consent and current native store grants. No store writes, orders, customer data or advertising authority is granted. | |
| request_key | Yes | ||
| studio_kind | Yes | ||
| workspace_id | Yes | ||
| include_video | No | Set true only when the task may generate video. A credit limit alone never authorizes video; the creator approves it separately in Genflick. Omitted means no video. | |
| native_policy | No | Optional exact native Social automatic policy plan for this Film or Series. Requires real creator consent, selected owned accounts and automatic-work scope. The existing session ceiling also bounds all automatic descendants; no recurring budget reset or auto-reload. | |
| ad_account_ids | No | Exact advertisers for a GenAds session or task. Requires separate current ads scopes and native account grants. Creative credits do not authorize ad spend; each stage, activation or budget change still requires its saved human approval. | |
| maximum_credits | Yes | ||
| expected_revision | Yes | ||
| crm_connection_ids | No | Exact customer-owned CRM connections for this GenAds session or task. Requires crm:read and current native access. Lead delivery additionally needs crm:deliver, source advertiser lead permission and exact native human approval; contacts never enter assistant results. | |
| genads_project_ids | No | Exact additional GenAds homes for this Film or Series session or task. Each must already be selected in the current connection. Nesting alone grants no access. | |
| allow_genads_creation | No | Permit creating native GenAds projects inside this Film or Series. Requires current projects:write and adds only each actually created child to this session and grant. | |
| analytics_connection_ids | No | Exact customer-owned analytics connections selected for this GenAds session or task. Requires analytics:read and current native access. Reports preserve source attribution and data quality; this grants no analytics configuration, customer-level data, or advertising spend. | |
| expected_catalog_version | Yes | For a new session, read a studios/{studio}/native/{pack} child toolset and copy invocation.catalog_version from a native tool descriptor. Do not use the top-level library version. For calls in an existing session, use that session proposal's catalog_version. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||