# Truto API Call Reproducer

> Reproduce and minimize Truto proxy, unified, custom, batch, export, or diff API calls with exact CLI commands. Use when the user gives an endpoint, resource, method, query, body, curl-like request, error, or expected-versus-actual API result.

- Skill: `yuvraj3335/truto-api-call-reproducer` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add yuvraj3335/truto-api-call-reproducer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yuvraj3335/truto-api-call-reproducer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: yuvraj3335 (https://skillmd.com/u/yuvraj3335)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/yuvraj3335/truto-api-call-reproducer

---


# Truto API Call Reproducer

## Mission

Produce the smallest reliable CLI command that proves a Truto API behavior. Prefer read-only list/get calls unless the user explicitly asks to test a write.

## Inputs

Use any of: profile, account ID, model/resource, proxy resource, custom provider path, method, record ID, query, body, expected output, actual error, or log snippet.

## Preflight

```bash
truto whoami -p "$PROFILE" -o json --no-color
truto accounts get "$ACCOUNT_ID" -p "$PROFILE" -o json --no-color
truto accounts tools "$ACCOUNT_ID" -p "$PROFILE" -o json --no-color
truto capabilities "$ACCOUNT_ID" --target account -p "$PROFILE" -o json --no-color
```

If the resource is absent from account tools, inspect integration capabilities before attempting the call.

## Command Templates

Unified:

```bash
truto unified "$MODEL" "$RESOURCE" "$ID" -m "$METHOD" -a "$ACCOUNT_ID" --query-json "$QUERY_JSON" -p "$PROFILE" -o json --no-color
```

Proxy:

```bash
truto proxy "$RESOURCE" "$ID" -m "$METHOD" -a "$ACCOUNT_ID" --query-json "$QUERY_JSON" -p "$PROFILE" -o json --no-color
```

Custom provider path:

```bash
truto custom "$PATH" -m "$HTTP_METHOD" -a "$ACCOUNT_ID" --query-json "$QUERY_JSON" -p "$PROFILE" -o json --no-color
```

Body via stdin:

```bash
truto proxy "$RESOURCE" -m create -a "$ACCOUNT_ID" --stdin -p "$PROFILE" -o json --no-color
```

Batch:

```bash
truto batch "$BATCH_FILE" -p "$PROFILE" -o json --no-color
```

Export/diff:

```bash
truto export "$RESOURCE_PATH" -a "$ACCOUNT_ID" -p "$PROFILE" -o ndjson --no-color --out /tmp/truto-export.ndjson
truto diff "$RESOURCE_PATH" "$ID1" "$ID2" -a "$ACCOUNT_ID" -p "$PROFILE" -o json --no-color
```

## Debugging

Add `-v` after the minimal command is correct. Compare:

- CLI validation or parsing errors
- Truto request URL/method/body
- Provider status/body
- Truto normalized error or output

Redact secrets from verbose output.

## Output

Return the final minimal command, why it is proxy/unified/custom/batch/export/diff, observed result, whether the behavior is reproduced, and one deeper command if needed.

