Search by

adachsoft / playbooks-tool

Arkadiusz Adach

AI SPI tools for playbooks: read-only PlaybooksTool and admin PlaybooksAdminTool.

Package info

gitlab.com/a.adach/playbooks-tool

Issues

pkg:composer/adachsoft/playbooks-tool

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

v0.1.0 2026-10-20 18:18 UTC

This package is not auto-updated.

Last update: 2026-10-22 01:35:46 UTC


README

Playbooks Tool provides AI tool-calling interfaces for querying and managing playbooks and groups.

Features

  • AdachSoft\PlaybooksTool\Playbooks\Tool\PlaybooksTool exposes read-only list and get operations.
  • AdachSoft\PlaybooksTool\Admin\Tool\PlaybooksAdminTool exposes CRUD operations for playbooks and groups.
  • Both tools implement AdachSoft\AiToolCall\SPI\ToolInterface and provide a tool definition for AI integrations.

Requirements

  • PHP 8.3 or later
  • Composer

Installation

composer require adachsoft/playbooks-tool

Integration

Register each tool's getDefinition() result with your AI tool-calling integration. Construct the tool through your application's dependency injection container with its operation-handler registry and parameter validator, then pass incoming calls to callTool().

The read-only tool and administrative tool have separate handlers and operation schemas. Only expose the administrative tool to trusted callers because it can create, update, and delete playbooks and groups.

See the read-only tool example and administrative tool example for request examples.