Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
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:163

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:175

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:167

Indicates this is URL-referenced content.


value

ts
value: string;
value: string;

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

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