Loading...
Loading...
Use when designing agent tools, creating tool descriptions, implementing MCP tools, or asking about "tool design", "agent tools", "tool descriptions", "MCP", "function calling", "tool consolidation"
npx skill4agent add eyadsibai/ltk tool-designlist_userslist_eventscreate_eventschedule_eventdef get_customer(customer_id: str, format: str = "concise"):
"""
Retrieve customer information by ID.
Use when:
- User asks about specific customer details
- Need customer context for decision-making
- Verifying customer identity
Args:
customer_id: Format "CUST-######" (e.g., "CUST-000001")
format: "concise" for key fields, "detailed" for complete record
Returns:
Customer object with requested fields
Errors:
NOT_FOUND: Customer ID not found
INVALID_FORMAT: ID must match CUST-###### pattern
"""def search(query):
"""Search the database."""
pass# Correct
"Use the BigQuery:bigquery_schema tool..."
# Incorrect (may fail)
"Use the bigquery_schema tool..."format: str = "concise" # "concise" | "detailed"{
"error": "NOT_FOUND",
"message": "Customer CUST-000001 not found",
"suggestion": "Verify customer ID format (CUST-######)"
}xvalparam1ididentifiercustomer_id