mirror of
https://github.com/hoshikawa2/first_contas.git
synced 2026-07-09 18:24:20 +00:00
first commit
This commit is contained in:
4
tests/curl_backend_debug_mcp.sh
Normal file
4
tests/curl_backend_debug_mcp.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
curl -s http://localhost:8000/debug/mcp/call/consultar_fatura \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"business_context":{"customer_key":"11999999999","contract_key":"FAT-2026-06","account_key":"CUST-001","interaction_key":"URA-001"}}' | python -m json.tool
|
||||
2
tests/curl_backend_health.sh
Normal file
2
tests/curl_backend_health.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
curl -s http://localhost:8000/health | python -m json.tool
|
||||
18
tests/curl_gateway_fatura.sh
Normal file
18
tests/curl_gateway_fatura.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
curl -s http://localhost:8000/gateway/message \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"channel":"web",
|
||||
"tenant_id":"default",
|
||||
"agent_id":"contas_first",
|
||||
"payload":{
|
||||
"text":"Quero entender por que minha fatura veio mais alta",
|
||||
"session_id":"sess-contas-001",
|
||||
"user_id":"11999999999",
|
||||
"customer_key":"11999999999",
|
||||
"contract_key":"FAT-2026-06",
|
||||
"account_key":"CUST-001",
|
||||
"interaction_key":"URA-001",
|
||||
"channel":"web"
|
||||
}
|
||||
}' | python -m json.tool
|
||||
4
tests/curl_mcp_consultar_fatura.sh
Normal file
4
tests/curl_mcp_consultar_fatura.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
curl -s http://localhost:8100/mcp/tools/call \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"tool_name":"consultar_fatura","arguments":{"msisdn":"11999999999","invoice_id":"FAT-2026-06","customer_id":"CUST-001"}}' | python -m json.tool
|
||||
2
tests/curl_mcp_health.sh
Normal file
2
tests/curl_mcp_health.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
curl -s http://localhost:8100/health | python -m json.tool
|
||||
Reference in New Issue
Block a user