---
related_nodes: ["ai_agent", "tool_provider", "library", "subworkflow_tool"]
---

# Library Tools

Packages the Library tools for AI Agent `tools` inputs.

- No connection is required. Tools use the current workspace context.
- Wire any upstream flow into `input`; wire `tools` into an AI Agent `tools` input.
- The node does not read or write the Library during workflow execution. It emits tool configs.

## Config

`tools` (required): the `library` tool group's config, one boolean switch per tool, named after the tool. A switch left out of `tools` defaults to `true`; turn off the ones the agent should not have. At least one must stay on.

Read tools:

- `library_list`
- `library_search`
- `library_get`
- `library_view`

Write tools:

- `library_create`
- `library_blocks_append`
- `library_block_update`
- `library_block_delete`
- `library_update`
- `library_move`
- `library_delete_trash`

A read-only agent:

```json
{
  "library_tools": {
    "tools": {
      "library_create": false,
      "library_blocks_append": false,
      "library_block_update": false,
      "library_block_delete": false,
      "library_update": false,
      "library_move": false,
      "library_delete_trash": false
    }
  }
}
```

Output: `tools` - the enabled Library tools.

For side effects such as moving or trashing items, prefer a Subworkflow Tool unless the workflow author deliberately grants the direct mutating tool.
