# Jq playground

- Human page: https://happytails.ai/en/developer-tools/jq-playground/
- Markdown: https://happytails.ai/en/developer-tools/jq-playground.md
- Structured JSON: https://happytails.ai/agents/en/developer-tools/jq-playground/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `jq-playground` |
| Category | developer-tools |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Use the visible action or interactive controls. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

Runs pinned jq-web 0.6.2 locally in a disposable worker. 100 KB input, 1 MB output and 5-second limit. Multiple output values are preserved.

### Inputs and settings

Text input: Your text.

Example or placeholder shown in the interface (not a validated fixture):

```text
Type or paste your input…
```

Up to 1,000,000 characters. Review the settings before running.

| Setting | Meaning | Control type | Default | Constraints |
| --- | --- | --- | --- | --- |
| `filter` | jq filter | text | "." |  |
| `raw` | Raw string output | checkbox | false |  |

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

Run pinned jq version with resource limits; allow multiple output values and raw mode.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "id": "jq-playground",
  "category": "developer-tools",
  "built": true,
  "requirements": "Run pinned jq version with resource limits; allow multiple output values and raw mode.",
  "implementation": {
    "fields": [
      {
        "key": "filter",
        "label": "jq filter",
        "value": ".",
        "type": "text"
      },
      {
        "key": "raw",
        "label": "Raw string output",
        "value": false,
        "type": "checkbox"
      }
    ],
    "note": "Runs pinned jq-web 0.6.2 locally in a disposable worker. 100 KB input, 1 MB output and 5-second limit. Multiple output values are preserved.",
    "experience": {
      "automatic": false,
      "single": false,
      "label": "Your text",
      "placeholder": "Type or paste your input…",
      "help": "Up to 1,000,000 characters. Review the settings before running.",
      "action": null
    },
    "mode": "explicit",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}
```

## Page guide

Run pinned jq version with resource limits.

## How to use Jq playground

1. Enter your text in the input field.
2. Review the settings, then choose Run Jq playground.
3. Review the result, then use Copy result or a download link when available.

## Working with jq playground

Formatting makes existing data or code easier to read. Validation checks whether it follows a syntax or schema. Conversion maps it into another representation. Choosing the right operation helps avoid treating a neatly formatted result as proof that the underlying data is correct.

## Common questions

### Does valid JSON mean the data is correct?

Syntax validation only establishes that the text can be parsed as JSON. A schema can check required fields and types, but neither proves that an email address, price or external record is factually correct.

### Is decoding the same as decrypting or verifying?

No. Base64 and URL encoding are representations, not encryption. Reading a token payload does not verify its signature. Use the specific validation or verification process required by the system receiving the result.
