-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtext_example.yaml
More file actions
84 lines (81 loc) · 2.12 KB
/
text_example.yaml
File metadata and controls
84 lines (81 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
schemaVersion: '1.0'
metadata:
name: Text Execution Examples
description: Example MCI tools demonstrating text template execution with placeholder
substitution
version: 1.0.0
license: MIT
authors:
- MCI Development Team
tools:
- name: generate_message
description: Generate a simple text message with placeholder substitution
inputSchema:
type: object
properties:
username:
type: string
description: Username to include in the message
required:
- username
execution:
type: text
text: Hello {{props.username}}! This message was generated on {{env.CURRENT_DATE}}.
annotations:
title: Generate Message
- name: generate_welcome
description: Generate a personalized welcome message with user details
inputSchema:
type: object
properties:
username:
type: string
description: User's name
email:
type: string
description: User's email address
required:
- username
execution:
type: text
text: Welcome {{props.username}}! Your account has been created successfully.
We've sent a confirmation email to {{props.email}}.
annotations:
title: Generate Welcome Message
- name: status_message
description: Generate a status message with timestamp from environment
inputSchema:
type: object
properties:
status:
type: string
description: Status to report
required:
- status
execution:
type: text
text: 'Status: {{props.status}} at {{env.TIMESTAMP}}'
annotations:
title: Generate Status Message
- name: generate_report_summary
description: Generate a formatted report summary with multiple placeholders
inputSchema:
type: object
properties:
report_name:
type: string
description: Name of the report
author:
type: string
description: Report author
required:
- report_name
- author
execution:
type: text
text: 'Report: {{props.report_name}}
Author: {{props.author}}
Generated: {{env.CURRENT_DATE}}
Version: {{env.APP_VERSION}}'
annotations:
title: Generate Report Summary