blob: fff5f2555cfa99144dba5a93e33de59fb3a80c9d [file] [edit]
// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// Constants for all keys used in the MCP API.
extension Keys on Never {
static const accept = 'accept';
static const action = 'action';
static const additionalProperties = 'additionalProperties';
static const allOf = 'allOf';
static const annotations = 'annotations';
static const anyOf = 'anyOf';
static const argument = 'argument';
static const arguments = 'arguments';
static const audience = 'audience';
static const blob = 'blob';
static const cancel = 'cancel';
static const capabilities = 'capabilities';
static const clientInfo = 'clientInfo';
static const completion = 'completion';
static const completions = 'completions';
static const const_ = 'const';
static const content = 'content';
static const contents = 'contents';
static const context = 'context';
static const costPriority = 'costPriority';
static const cursor = 'cursor';
static const data = 'data';
static const decline = 'decline';
static const default_ = 'default';
static const description = 'description';
static const destructiveHint = 'destructiveHint';
static const details = 'details';
static const elicitation = 'elicitation';
static const elicitationId = 'elicitationId';
static const embeddedResource = 'embeddedResource';
static const enum_ = 'enum';
static const error = 'error';
static const exclusiveMaximum = 'exclusiveMaximum';
static const exclusiveMinimum = 'exclusiveMinimum';
static const experimental = 'experimental';
static const form = 'form';
static const format = 'format';
static const hasMore = 'hasMore';
static const hints = 'hints';
static const icons = 'icons';
static const idempotentHint = 'idempotentHint';
static const includeContext = 'includeContext';
static const inputSchema = 'inputSchema';
static const instructions = 'instructions';
static const intelligencePriority = 'intelligencePriority';
static const isError = 'isError';
static const items = 'items';
static const lastModified = 'lastModified';
static const level = 'level';
static const listChanged = 'listChanged';
static const logger = 'logger';
static const logging = 'logging';
static const maxItems = 'maxItems';
static const maxLength = 'maxLength';
static const maxProperties = 'maxProperties';
static const maxTokens = 'maxTokens';
static const maximum = 'maximum';
static const message = 'message';
static const messages = 'messages';
static const meta = '_meta';
static const metadata = 'metadata';
static const mimeType = 'mimeType';
static const minItems = 'minItems';
static const minLength = 'minLength';
static const minProperties = 'minProperties';
static const minimum = 'minimum';
static const mode = 'mode';
static const model = 'model';
static const modelPreferences = 'modelPreferences';
static const multipleOf = 'multipleOf';
static const name = 'name';
static const nextCursor = 'nextCursor';
static const not = 'not';
static const oneOf = 'oneOf';
static const openWorldHint = 'openWorldHint';
static const outputSchema = 'outputSchema';
static const path = 'path';
static const pattern = 'pattern';
static const patternProperties = 'patternProperties';
static const prefixItems = 'prefixItems';
static const priority = 'priority';
static const progress = 'progress';
static const progressToken = 'progressToken';
static const prompts = 'prompts';
static const properties = 'properties';
static const propertyNames = 'propertyNames';
static const protocolVersion = 'protocolVersion';
static const readOnlyHint = 'readOnlyHint';
static const reason = 'reason';
static const ref = 'ref';
static const requestId = 'requestId';
static const requestedSchema = 'requestedSchema';
static const required = 'required';
static const resource = 'resource';
static const resourceTemplates = 'resourceTemplates';
static const resources = 'resources';
static const role = 'role';
static const roots = 'roots';
static const sampling = 'sampling';
static const serverInfo = 'serverInfo';
static const size = 'size';
static const sizes = 'sizes';
static const speedPriority = 'speedPriority';
static const src = 'src';
static const stopReason = 'stopReason';
static const stopSequences = 'stopSequences';
static const structuredContent = 'structuredContent';
static const subscribe = 'subscribe';
static const systemPrompt = 'systemPrompt';
static const temperature = 'temperature';
static const text = 'text';
static const theme = 'theme';
static const title = 'title';
static const toolChoice = 'toolChoice';
static const tools = 'tools';
static const total = 'total';
static const type = 'type';
static const unevaluatedItems = 'unevaluatedItems';
static const unevaluatedProperties = 'unevaluatedProperties';
static const uniqueItems = 'uniqueItems';
static const uri = 'uri';
static const uriTemplate = 'uriTemplate';
static const url = 'url';
static const value = 'value';
static const values = 'values';
static const version = 'version';
static const websiteUrl = 'websiteUrl';
}