> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sia.vision/llms.txt
> Use this file to discover all available pages before exploring further.

# Search saved Studio work

> library_search: permissions and generated input/output contracts.

`library_search` · Gateway release **0.8.3**

Search names, descriptions, aliases and tags in currently accessible Storyworlds. Sort newest-added, recently-updated or by name. Returns safe saved records, server-recorded creation channel and a checked-at change watermark. Reuse saved assets before creating. Source not recorded means unknown; an MCP label is not human approval. No generation, copying or Production pin changes.

Required scopes: `account:read`, `studio:read`. Read-only.

Availability depends on runtime configuration and the permissions granted to this connection. Use live MCP discovery as the authority.

## Input

```json theme={null}
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "type": "string",
      "maxLength": 3000
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "storyworldId": {
      "type": "string",
      "pattern": "^[a-fA-F0-9]{24}$",
      "description": "ID of an accessible saved Storyworld returned by discovery. Keep this destination fixed for the operation."
    },
    "nodeTypes": {
      "type": "array",
      "minItems": 1,
      "maxItems": 8,
      "items": {
        "type": "string",
        "enum": [
          "CHARACTER",
          "LOCATION",
          "ARTIFACT",
          "COLLECTION",
          "MEDIA",
          "SCENE",
          "NOTE",
          "PROMPT"
        ]
      }
    },
    "search": {
      "type": "string",
      "maxLength": 120
    },
    "sort": {
      "type": "string",
      "enum": [
        "updated",
        "newest",
        "name"
      ]
    }
  },
  "required": []
}
```

## Declared output

This is the declared success schema. Error results and binary media blocks are separate MCP protocol results.

```json theme={null}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "schemaVersion": {
      "type": "string",
      "const": "1"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "freshness": {
      "type": "object",
      "properties": {
        "checkedAt": {
          "type": "string"
        },
        "revision": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "authorizationScope": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "totalItems": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "checkedAt",
        "revision",
        "authorizationScope",
        "totalItems"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "schemaVersion",
    "items",
    "nextCursor",
    "freshness"
  ],
  "additionalProperties": {}
}
```

[All tools](https://docs.sia.vision/mcp-reference.md) · [Permissions](https://docs.sia.vision/authentication.md) · [Media and recovery](https://docs.sia.vision/media-and-recovery.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.