You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -34,7 +34,7 @@ export async function POST(request: Request) {
34
34
consttools={
35
35
search_knowledge_base: {
36
36
description: 'Search the Atlas Financial internal knowledge base for policy documents, FAQs, and guides. Use this for general questions about refunds, transfers, fees, security.',
37
-
parameters: z.object({
37
+
inputSchema: z.object({
38
38
query: z.string().describe('The search query'),
39
39
}),
40
40
execute: async({ query }: {query: string})=>{
@@ -61,7 +61,7 @@ export async function POST(request: Request) {
61
61
62
62
lookup_account: {
63
63
description: 'Look up a customer account by account ID. Returns account details including name, balance, type, and support tier.',
64
-
parameters: z.object({
64
+
inputSchema: z.object({
65
65
account_id: z.string().describe('The account ID (e.g., A-1234)'),
@@ -117,7 +117,7 @@ export async function POST(request: Request) {
117
117
118
118
update_case: {
119
119
description: 'Update a support case with new notes or status changes. Requires human approval for modifications.',
120
-
parameters: z.object({
120
+
inputSchema: z.object({
121
121
case_id: z.string().describe('The case ID (e.g., C-5678)'),
122
122
notes: z.string().describe('Notes to add to the case'),
123
123
}),
@@ -145,7 +145,7 @@ export async function POST(request: Request) {
145
145
146
146
export_customer_data: {
147
147
description: 'Export customer data to a file. This is typically blocked by policy.',
148
-
parameters: z.object({
148
+
inputSchema: z.object({
149
149
format: z.string().describe('Export format (csv, json)'),
150
150
scope: z.string().describe('What data to export'),
151
151
}),
@@ -169,7 +169,7 @@ export async function POST(request: Request) {
169
169
170
170
close_account: {
171
171
description: 'Close a customer account. This is a high-risk action typically blocked by policy.',
172
-
parameters: z.object({
172
+
inputSchema: z.object({
173
173
account_id: z.string().describe('The account ID to close'),
174
174
reason: z.string().describe('Reason for closure'),
175
175
}),
@@ -214,10 +214,10 @@ CRITICAL RULES:
214
214
- For case references, use C-5678 as the default.
215
215
216
216
You are demonstrating SidClaw's governance platform. The governance decisions you encounter (allow, approval_required, deny) are being made in real-time by the SidClaw policy engine based on actual policy rules configured for Atlas Financial. It is essential that every action goes through the tools so the governance trace appears on the right panel.`,
0 commit comments