Skip to content

Model Commands

Pull, inspect, and mutate your agent's semantic model with the Inconvo CLI.


The inconvo model commands let you manage your agent’s semantic model — the configuration that tells Inconvo how to interpret your data.

Pull semantic model files from Inconvo into a local .inconvo/ directory.

Terminal window
npx inconvo model pull
OptionDescription
--agent <agentId>Target agent ID (repeatable for multiple agents)
--all-agentsPull all agents in the organisation
--connection <connectionId>Restrict pull to one connection (requires exactly one --agent)
--jsonPrint JSON output
--api-key <apiKey>API key override
Terminal window
# Interactive mode — prompts you to select agents
npx inconvo model pull
# Pull a specific agent
npx inconvo model pull --agent agt_123
# Pull all agents
npx inconvo model pull --all-agents
# Pull a specific connection for an agent
npx inconvo model pull --agent agt_123 --connection conn_456

List all agents available in your organisation.

Terminal window
npx inconvo model agent list
Terminal window
# JSON output
npx inconvo model agent list --json

Run generic model actions or inspect the action schema.

Execute a model action from a raw JSON payload.

Terminal window
npx inconvo model action run \
--agent agt_123 \
--action <action_type> \
--payload '{"key": "value"}'
OptionDescription
--agent <agentId>Target agent ID (required)
--action <action>Action type (required)
--payload <json>Action payload as JSON (required)
--connection <connectionId>Connection ID (required for some actions)
--dry-runPrint resolved payload without applying
--no-syncSkip post-mutation sync

List all supported model actions and their metadata.

Terminal window
npx inconvo model action schema --json

The following commands modify specific parts of the semantic model. They all support --agent, --connection, --dry-run, --no-sync, and --json options.

CommandDescription
inconvo model tableSet table access mode (queryable, joinable, off) and table prompts
inconvo model columnToggle columns on/off
inconvo model computedCreate, update, or delete computed columns
inconvo model relationToggle relations on/off
inconvo model conditionManage conditions on tables
inconvo model policyManage access policies
inconvo model virtualManage virtual tables
inconvo model user-contextConfigure user context fields and context filters