Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Class References
Function References
Interface References
Type Alias References
Variable References

ContentPartUrlSource

Interface: ContentPartUrlSource

Defined in: packages/typescript/ai/src/types.ts:185

Source specification for URL-based content. mimeType is optional as it can often be inferred from the URL or response headers.

Properties

mimeType?

ts
optional mimeType: string;
optional mimeType: string;

Defined in: packages/typescript/ai/src/types.ts:197

Optional MIME type hint for cases where providers can't infer it from the URL.


type

ts
type: "url";
type: "url";

Defined in: packages/typescript/ai/src/types.ts:189

Indicates this is URL-referenced content.


value

ts
value: string;
value: string;

Defined in: packages/typescript/ai/src/types.ts:193

HTTP(S) URL or data URI pointing to the content.