{ "argumentSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "pattern": "cfc-agent-prompt-injection-demo/main.tsx", "resultSchema": { "$defs": { "BuiltInLLMContent": { "anyOf": [ { "type": "string" }, { "items": { "$ref": "#/$defs/BuiltInLLMContentPart" }, "type": "array" } ] }, "BuiltInLLMContentPart": { "anyOf": [ { "$ref": "#/$defs/BuiltInLLMTextPart" }, { "$ref": "#/$defs/BuiltInLLMImagePart" }, { "$ref": "#/$defs/BuiltInLLMToolCallPart" }, { "$ref": "#/$defs/BuiltInLLMToolResultPart" } ] }, "BuiltInLLMImagePart": { "properties": { "image": { "type": "string" }, "type": { "enum": [ "image" ], "type": "string" } }, "required": [ "type", "image" ], "type": "object" }, "BuiltInLLMMessage": { "properties": { "content": { "$ref": "#/$defs/BuiltInLLMContent" }, "role": { "enum": [ "user", "assistant", "system", "tool" ] } }, "required": [ "role", "content" ], "type": "object" }, "BuiltInLLMTextPart": { "properties": { "text": { "type": "string" }, "type": { "enum": [ "text" ], "type": "string" } }, "required": [ "type", "text" ], "type": "object" }, "BuiltInLLMToolCallPart": { "properties": { "input": { "additionalProperties": true, "properties": {}, "type": "object" }, "toolCallId": { "type": "string" }, "toolName": { "type": "string" }, "type": { "enum": [ "tool-call" ], "type": "string" } }, "required": [ "type", "toolCallId", "toolName", "input" ], "type": "object" }, "BuiltInLLMToolResultPart": { "properties": { "output": { "anyOf": [ { "properties": { "type": { "enum": [ "text" ], "type": "string" }, "value": { "type": "string" } }, "required": [ "type", "value" ], "type": "object" }, { "properties": { "type": { "enum": [ "json" ], "type": "string" }, "value": true }, "required": [ "type", "value" ], "type": "object" } ] }, "toolCallId": { "type": "string" }, "toolName": { "type": "string" }, "type": { "enum": [ "tool-result" ], "type": "string" } }, "required": [ "type", "toolCallId", "toolName", "output" ], "type": "object" }, "JSXElement": { "anyOf": [ { "$ref": "https://commonfabric.org/schemas/vnode.json" }, { "$ref": "#/$defs/UIRenderable" }, { "properties": {}, "type": "object" } ] }, "SentEmail": { "properties": { "body": { "type": "string" }, "loggedAt": { "type": "string" }, "recipient": { "type": "string" }, "route": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "route", "recipient", "subject", "body", "loggedAt" ], "type": "object" }, "UIRenderable": { "properties": { "$UI": { "$ref": "https://commonfabric.org/schemas/vnode.json" } }, "required": [ "$UI" ], "type": "object" } }, "properties": { "$NAME": { "type": "string" }, "$UI": { "$ref": "#/$defs/JSXElement" }, "emails": { "items": { "$ref": "#/$defs/SentEmail" }, "type": "array" }, "parentModel": { "type": "string" }, "safeMessages": { "items": { "$ref": "#/$defs/BuiltInLLMMessage" }, "type": "array" }, "safePending": { "type": "boolean" }, "subAgentModel": { "type": "string" }, "unsafeMessages": { "items": { "$ref": "#/$defs/BuiltInLLMMessage" }, "type": "array" }, "unsafePending": { "type": "boolean" } }, "required": [ "$NAME", "$UI", "emails", "unsafeMessages", "safeMessages", "unsafePending", "safePending", "parentModel", "subAgentModel" ], "type": "object" } }