> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thinkplatform.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Choose User guide for browser tasks, Developers for CLI, SDK and external agents, and Administration for organization management.
> Confirm identity and organization/project context before operations. Documentation access does not grant ThinkPlatform permissions.
> Review side effects, verify changes with a read, and do not blindly retry an operation with an uncertain outcome.
> Use documented UI steps for the web app and documented public CLI or SDK interfaces for automation. Follow each page’s prerequisites and authentication requirements.

# Edge commands

> Provision devices, inspect modules and twins, and manage deployments.

These examples assume an authenticated active saved profile with the intended organization and project. Confirm it with `tp context show` before running commands. Add root `--json` before the command when machine parsing needs JSON output; use root `--profile <name>` only to override the active profile.

## Check context and available resources

```bash theme={"system"}
tp auth whoami
tp context show
tp device list
tp device deployments list-device --device-id <device_id>
tp device acr repositories
```

## Device provisioning and setup

```bash theme={"system"}
tp device create --device-id <device_id> --dry-run
tp device create --device-id <device_id>
tp device setup download --download-id <download_id> --output ./setup.zip
tp device tags get --device-id <device_id>
tp device tags update --device-id <device_id> --body @tags.json --dry-run
```

## Inspect modules and run actions

```bash theme={"system"}
tp device modules --device-id <device_id>
tp device modules-status --device-id <device_id>
tp device module restart --device-id <device_id> --module-id <module_id> --dry-run
tp device module restart --device-id <device_id> --module-id <module_id>
tp device module call --device-id <device_id> --module-id <module_id> --method-name <method> --payload @payload.json
```

## Twin operations

Always read before patching:

```bash theme={"system"}
tp device twin get --device-id <device_id> --module-id <module_id>
tp device twin update --device-id <device_id> --module-id <module_id> --body @twin-patch.json --dry-run
tp device twin update --device-id <device_id> --module-id <module_id> --body @twin-patch.json
```

## Deployments

```bash theme={"system"}
tp device deployments list-device --device-id <device_id>
tp device deployments get --deployment-id <deployment_id>
tp device deployments create --body @deployment.json --dry-run
tp device deployments create --body @deployment.json
tp device deployments list-device --device-id <device_id>
tp device deployments default-config
```

## ACR and model rollout

```bash theme={"system"}
tp device acr repositories
tp device acr tags --repository <repository>
tp mlops deploy get --device-id <device_id>
tp mlops deploy set --device-id <device_id> --model-name <model_name> --model-version <version> --deploy-format <deploy_format> --dry-run
tp mlops deploy set --device-id <device_id> --model-name <model_name> --model-version <version> --deploy-format <deploy_format>
```

## Verification checklist

* Confirm target device IDs or tag query result before mutation.
* Read current modules and twin before changes.
* Read deployment status after changes.
* Confirm reported module status converges.
* Report rollback target and unresolved warnings.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.