AnthropicSkills
Namespace: Vercel.AI.Anthropic
public sealed class AnthropicSkillsAnthropic Skills API.
Inheritance: object
Constructors
Section titled “Constructors”AnthropicSkills(ProviderHttp, Func<string>, Func<IReadOnlyDictionary<string, string?>>, string)
Section titled “AnthropicSkills(ProviderHttp, Func<string>, Func<IReadOnlyDictionary<string, string?>>, string)”public AnthropicSkills(ProviderHttp http, Func<string> baseUrl, Func<IReadOnlyDictionary<string, string?>> headers, string provider)Creates a skills client.
Parameters
| Name | Type | Description |
|---|---|---|
http |
ProviderHttp | |
baseUrl |
Func<string> | |
headers |
Func<IReadOnlyDictionary<string, string>> | |
provider |
string |
Properties
Section titled “Properties”Provider
Section titled “Provider”public string Provider { get; }Provider id.
Value: string
SpecificationVersion
Section titled “SpecificationVersion”public string SpecificationVersion { get; }Specification version.
Value: string
Methods
Section titled “Methods”UploadSkillAsync(IReadOnlyList<AnthropicSkillFile>, string?, CancellationToken)
Section titled “UploadSkillAsync(IReadOnlyList<AnthropicSkillFile>, string?, CancellationToken)”public Task<AnthropicSkillUpload> UploadSkillAsync(IReadOnlyList<AnthropicSkillFile> files, string? displayTitle, CancellationToken cancellationToken)Uploads skill files, then reads the latest version metadata.
Parameters
| Name | Type | Description |
|---|---|---|
files |
IReadOnlyList<AnthropicSkillFile> | |
displayTitle |
string | |
cancellationToken |
CancellationToken |
Returns: Task<AnthropicSkillUpload>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product