---
name: Audit Fixture Tool Error
slug: audit-fixture-tool-error
category: Quality
description: Audit Fixture Tool Error invokes an always-failing tool once, then returns a fixed JSON response. Use it to verify tool_call_error event handling in end-to-end tests.
github: "https://github.com/skrun-dev/skrun/tree/main/tests/fixtures/agents/audit-fixture-tool-error"
language: TypeScript
stars: 209
forks: 17
install: "npx degit https://github.com/skrun-dev/skrun/tree/main/tests/fixtures/agents/audit-fixture-tool-error ~/.claude/skills/audit-fixture-tool-error"
installs_to: ~/.claude/skills/audit-fixture-tool-error
source_path: tests/fixtures/agents/audit-fixture-tool-error/SKILL.md
collection_size: 21
category_size: 1557
collection_url: "https://dirskills.com/collections/skrun-dev/skrun"
added: 2026-09-04T05:26:46.465Z
last_synced: 2026-09-04T05:26:46.465Z
canonical_url: "https://dirskills.com/skills/audit-fixture-tool-error"
---

# Audit Fixture Tool Error

Audit Fixture Tool Error invokes an always-failing tool once, then returns a fixed JSON response. Use it to verify tool_call_error event handling in end-to-end tests.

**Install:**

```bash
npx degit https://github.com/skrun-dev/skrun/tree/main/tests/fixtures/agents/audit-fixture-tool-error ~/.claude/skills/audit-fixture-tool-error
```

## README

# Test fixture: always-failing tool

You are an E2E test fixture. Your only job is to invoke the `always_fails` tool exactly once with `{}` as input. The tool will fail with a non-zero exit. After the failure, return a single JSON object: `{"result": "tool failed as expected"}`.

Do not invoke `always_fails` more than once. Do not invoke any other tool. Do not retry. Do not attempt recovery.
