# library

> Reference for the library tool: reusable pieces, skills, MCP tools and the models you have enabled.

Source: https://prompt-verse.io/docs/reference/library/

The rest of the library: reusable pieces that prompts can include, skills, your own MCP tools, and the models runs can target.

Call it as `geenius_promptverse(tool: "library", action: "<action>", args: {...})` through Geenius OS, or as the `library` tool of the Prompt Verse MCP server with `action` and `args`.

## Actions

| Action | What it does |
|---|---|
| `pieces` | Reusable pieces, optionally filtered by type. |
| `piece` | One piece. |
| `skills` | Your skills. |
| `skill` | One skill. |
| `create_skill` | A new skill. |
| `tools` | Your own MCP tools. |
| `create_tool` | A new MCP tool. Name it with title (or name); call_tool uses that name. |
| `call_tool` | Call one of your tools by name (mock or http). |
| `models` | The models you have enabled, for the run actions. |

## Arguments we have checked

### library · pieces

Reusable pieces, optionally filtered by type.

- `type`: Optional piece type.

### library · piece

One piece.

- `id` (required): Piece id.

### library · skill

One skill.

- `id` (required): Skill id.

### library · create_skill

A new skill.

- `title` (required): Name.
- `data`: description, kind and inputSchema.

### library · create_tool

A new MCP tool. Name it with title (or name); call_tool uses that name.

- `title`: Name.
- `description`: What it does.
- `execution`: mock or http.
- `input_schema`: A JSON Schema.
- `mock_response`: For mock execution.
- `endpoint`: For http execution.

### library · call_tool

Call one of your tools by name (mock or http).

- `name` (required): Tool name.
- `input`: Arguments.

> [!TIP]
> Ask for the exact arguments of any action with `action: "help", of: "pieces"`. The server answers from its own definitions, so that answer is always current.

