addedInput schema / properties / captures / items / oneOf
Added value: +[
+ {
+ "properties": {
+ "lines": {
+ "description": "Lines to render. Prefix with '$ ' for prompts.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ },
+ "title": {
+ "description": "Window title (default: 'terminal')",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "const": "terminal",
+ "type": "string"
+ }
+ },
+ "required": [
+ "lines",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "code": {
+ "description": "Source code to render",
+ "maxLength": 200000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "endLine": {
+ "description": "Last line number (1-indexed, inclusive)",
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "language": {
+ "default": "text",
+ "description": "Programming language (typescript, python, rust, go, etc.)",
+ "type": "string"
+ },
+ "startLine": {
+ "description": "First line number (1-indexed)",
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "title": {
+ "description": "Window title (default: 'code')",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "const": "code",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "endLine": {
+ "description": "Last line number (1-indexed, inclusive)",
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "filePath": {
+ "description": "Absolute path to file (must be in SNAPMCP_ALLOWED_PATHS)",
+ "minLength": 1,
+ "type": "string"
+ },
+ "startLine": {
+ "description": "First line number (1-indexed)",
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "type": {
+ "const": "file",
+ "type": "string"
+ }
+ },
+ "required": [
+ "filePath",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "fullPage": {
+ "default": false,
+ "description": "Capture full scrollable page",
+ "type": "boolean"
+ },
+ "height": {
+ "default": 800,
+ "description": "Viewport height (px)",
+ "maximum": 4096,
+ "minimum": 240,
+ "type": "integer"
+ },
+ "type": {
+ "const": "browser",
+ "type": "string"
+ },
+ "url": {
+ "description": "URL to capture (http/https, SSRF protected)",
+ "format": "uri",
+ "type": "string"
+ },
+ "width": {
+ "default": 1280,
+ "description": "Viewport width (px)",
+ "maximum": 3840,
+ "minimum": 320,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "url",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "markdown": {
+ "description": "Markdown content (GFM supported)",
+ "maxLength": 200000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "title": {
+ "description": "Document title (default: 'document')",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "const": "markdown",
+ "type": "string"
+ }
+ },
+ "required": [
+ "markdown",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "html": {
+ "description": "HTML content (external resources blocked)",
+ "maxLength": 200000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "title": {
+ "description": "Description for logging (default: 'html')",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "const": "html",
+ "type": "string"
+ }
+ },
+ "required": [
+ "html",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "diff": {
+ "description": "Unified diff content (git diff format)",
+ "maxLength": 500000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "diff",
+ "type": "string"
+ }
+ },
+ "required": [
+ "diff",
+ "type"
+ ],
+ "type": "object"
+ }
+]