Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

19 pages for contenttype.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

mcp-connector Claude Developer Platform · in the page agents-and-tools/mcp-connector …), FileName = filename }; if (mediaType is not null) { file.ContentType = new(mediaType); } var uploaded = await anthropic.Files.Upload(new FileUploadParams { File = file }); Console.… files Claude Developer Platform · in the page build-with-claude/files …ocument.pdf"), FileName = "document.pdf", ContentType = new("application/pdf") } }); var fileId = uploaded.ID; Console.WriteLine(fileId); ``` ```g… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …ath/to/document.pdf"), FileName = "document.pdf", ContentType = new("application/pdf"), }, }); // Use the uploaded file in a message var message = await client.Message… skills-guide Claude Developer Platform · in the page build-with-claude/skills-guide …l.zip"))) .filename("example_skill.zip") .contentType("application/zip") .build()) .build(); Skill skill = client.skills().create(params);… vision Claude Developer Platform · in the page build-with-claude/vision …n-example.jpg"), FileName = "vision-example.jpg", ContentType = new("image/jpeg"), }, }); // Use the uploaded file in a message var response = await client.Messages.Cr… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …tent type with the `anthropic.File(reader io.Reader, filename string, contentType string)` helper, which wraps any `io.Reader` with the appropriate file name and content type. ```go // A file from th… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java ….value(Files.newInputStream(Paths.get("/path/to/file.pdf"))) .contentType("application/pdf") .build() ) .build(); FileMetadata fileMetadata = client.files().upload(params); ``` Or… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …-toolkit.zip")))) .filename("sales-toolkit.zip") .contentType("application/octet-stream") .build(); var params = PluginCreateParams.builder() .files(archi… DCF Model Rubric Claude Developer Platform · in the page managed-agents/define-outcomes …ad( file: FileParam::fromResource(fopen('/tmp/rubric.md', 'r'), contentType: 'text/markdown'), ); echo "Uploaded rubric: {$rubric->id}\n"; ``` ```ruby Ruby require "anthropic" requi… files Claude Developer Platform · in the page managed-agents/files …: FileParam::fromResource(fopen($csvPath, 'r'), filename: 'data.csv', contentType: 'text/csv'), ); echo "File ID: {$file->id}\n"; ``` ```ruby Ruby file = client.files.upload(file: Pathname(… skills Claude Developer Platform · in the page managed-agents/skills …l.zip"))) .filename("example_skill.zip") .contentType("application/zip") .build()) .build(); Skill skill = client.skills().create(params);… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …$env:ANTHROPIC_AUTH_TOKEN"; "anthropic-version" = "2023-06-01" } ` -ContentType "application/json" ` -Body '{"model": "claude-sonnet-4-6", "max_tokens": 1, "messages": [{"role": "user", "content":… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …" = "Bearer <gateway-key>"; "anthropic-version" = "2023-06-01" } ` -ContentType "application/json" ` -Body '{"model": "claude-sonnet-4-6", "max_tokens": 1, "messages": [{"role": "user", "content":… Build an MCP server Model Context Protocol · in the page docs/2024-11-05/develop/build-server …append("User-Agent", "WeatherApiClient/1.0") } contentType(ContentType.Application.Json) } install(ContentNegotiation) { json(Json { ignoreUnknownKeys = true })… Build an MCP server Model Context Protocol · in the page docs/2025-03-26/develop/build-server …append("User-Agent", "WeatherApiClient/1.0") } contentType(ContentType.Application.Json) } install(ContentNegotiation) { json(Json { ignoreUnknownKeys = true })… Build an MCP server Model Context Protocol · in the page docs/2025-06-18/develop/build-server …append("User-Agent", "WeatherApiClient/1.0") } contentType(ContentType.Application.Json) } install(ContentNegotiation) { json(Json { ignoreUnknownKeys = true })… Build an MCP server Model Context Protocol · in the page docs/2025-11-25/develop/build-server …append("User-Agent", "WeatherApiClient/1.0") } contentType(ContentType.Application.Json) } install(ContentNegotiation) { json(Json { ignoreUnknownKeys = true })… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …append("User-Agent", "WeatherApiClient/1.0") } contentType(ContentType.Application.Json) } install(ContentNegotiation) { json(Json { ignoreUnknownKeys = true })… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …append("User-Agent", "WeatherApiClient/1.0") } contentType(ContentType.Application.Json) } install(ContentNegotiation) { json(Json { ignoreUnknownKeys = true })…
Feedback