All tools
ToolRead

Get library artifact

get_library_artifact

You need to discover, read, validate, create, or attach Prism visual artifacts.

When to use it

You need to discover, read, validate, create, or attach Prism visual artifacts.

Typical workflow

Plan, generate externally, validate, then create or attach.

What it returns

Artifact metadata, specs, validation results, save guidance, or embeds.

Avoid using it when

You are trying to preview live output through MCP; render externally first.

Advanced input contract

Agent hosts use this JSON Schema to validate the exact input shape.

View JSON Schema
{
  "type": "object",
  "properties": {
    "artifactId": {
      "type": "string",
      "format": "uuid"
    },
    "sourceOffset": {
      "type": "integer",
      "minimum": 0,
      "description": "Character offset for React or HTML source reads."
    },
    "sourceLength": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100000,
      "description": "Maximum React or HTML source characters to return. Defaults to 100,000."
    }
  },
  "required": [
    "artifactId"
  ],
  "additionalProperties": false
}

Useful next tools