struct

Anthropic::UploadSkillRequest

Inherits Struct < Value < Object

Request to create a skill (upload as multipart).

Constructors

from_base64(base64_content : String, filename : String = "skill.zip") : self
Source
from_file(path : String) : self

Create from a file path. Reads file content and makes an owned copy of the byte buffer so there are no dangling slice references.

Source
from_string(content : String, filename : String = "skill.zip") : self

Create from a string. Makes an owned copy of the byte buffer so there are no dangling slice references.

Source
new(content : Bytes, filename : String = "skill.zip")
Source

Instance methods

content
Source
filename
Source