mcp-servicenow
Version:
ServiceNow MCP server for Claude AI integration
45 lines (41 loc) • 863 B
text/typescript
export type SendEmailParams = {
to: string;
subject: string;
body: string;
cc?: string;
bcc?: string;
from?: string;
priority?: string;
content_type?: string;
};
export type SendEmailResult = {
success: boolean;
email_sys_id?: string;
message?: string;
sent_on?: string;
recipients?: string[];
};
export type GetEmailsParams = {
recipient?: string;
sender?: string;
subject?: string;
created_since?: string;
limit?: number;
state?: string;
};
export type Email = {
sys_id: string;
recipient: string;
sender: string;
subject: string;
body: string;
state: string;
sys_created_on: string;
sent_on?: string;
type: string;
};
export type GetEmailsResult = {
success: boolean;
emails?: Email[];
message?: string;
};