agentforge-multiturn-toolcall / tools_schema.json
JDKdev's picture
Initial release: AgentForge-MultiTurn-ToolCall-5k v1.0.0
7a21021 verified
Raw
History Blame Contribute Delete
27 kB
{
"finance": {
"tools": [
{
"type": "function",
"function": {
"name": "get_account_balance",
"description": "Retrieve the current balance of a specified account.",
"parameters": {
"type": "object",
"properties": {
"account_id": {
"type": "string",
"description": "Unique account identifier."
},
"currency": {
"type": "string",
"description": "ISO 4217 currency code, e.g. USD."
}
},
"required": [
"account_id"
]
}
}
},
{
"type": "function",
"function": {
"name": "list_recent_transactions",
"description": "List recent transactions for an account within a date window.",
"parameters": {
"type": "object",
"properties": {
"account_id": {
"type": "string"
},
"days": {
"type": "integer",
"description": "Lookback window in days."
},
"category": {
"type": "string",
"description": "Optional category filter."
}
},
"required": [
"account_id",
"days"
]
}
}
},
{
"type": "function",
"function": {
"name": "transfer_funds",
"description": "Transfer funds between two accounts owned by the same user.",
"parameters": {
"type": "object",
"properties": {
"from_account": {
"type": "string"
},
"to_account": {
"type": "string"
},
"amount": {
"type": "number"
},
"currency": {
"type": "string"
}
},
"required": [
"from_account",
"to_account",
"amount"
]
}
}
},
{
"type": "function",
"function": {
"name": "get_exchange_rate",
"description": "Get the current FX rate between two currencies.",
"parameters": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
},
"required": [
"from",
"to"
]
}
}
},
{
"type": "function",
"function": {
"name": "categorize_transaction",
"description": "Re-categorize a transaction for budgeting purposes.",
"parameters": {
"type": "object",
"properties": {
"transaction_id": {
"type": "string"
},
"new_category": {
"type": "string"
}
},
"required": [
"transaction_id",
"new_category"
]
}
}
}
]
},
"travel": {
"tools": [
{
"type": "function",
"function": {
"name": "search_flights",
"description": "Search one-way or round-trip flight options.",
"parameters": {
"type": "object",
"properties": {
"origin": {
"type": "string"
},
"destination": {
"type": "string"
},
"departure_date": {
"type": "string",
"description": "ISO date YYYY-MM-DD."
},
"return_date": {
"type": "string",
"description": "Optional. ISO date."
},
"passengers": {
"type": "integer"
},
"cabin": {
"type": "string",
"enum": [
"economy",
"premium",
"business",
"first"
]
}
},
"required": [
"origin",
"destination",
"departure_date",
"passengers"
]
}
}
},
{
"type": "function",
"function": {
"name": "book_flight",
"description": "Book a specific flight option returned by search_flights.",
"parameters": {
"type": "object",
"properties": {
"flight_id": {
"type": "string"
},
"passenger_names": {
"type": "array",
"items": {
"type": "string"
}
},
"seat_preference": {
"type": "string",
"enum": [
"aisle",
"window",
"middle"
]
}
},
"required": [
"flight_id",
"passenger_names"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_hotels",
"description": "Search hotels in a city for given dates.",
"parameters": {
"type": "object",
"properties": {
"city": {
"type": "string"
},
"check_in": {
"type": "string"
},
"check_out": {
"type": "string"
},
"guests": {
"type": "integer"
},
"max_price_per_night": {
"type": "number"
}
},
"required": [
"city",
"check_in",
"check_out",
"guests"
]
}
}
},
{
"type": "function",
"function": {
"name": "book_hotel",
"description": "Book a specific hotel room option.",
"parameters": {
"type": "object",
"properties": {
"hotel_id": {
"type": "string"
},
"room_type": {
"type": "string"
},
"guest_name": {
"type": "string"
}
},
"required": [
"hotel_id",
"room_type",
"guest_name"
]
}
}
},
{
"type": "function",
"function": {
"name": "get_weather_forecast",
"description": "Get a 7-day weather forecast for a city.",
"parameters": {
"type": "object",
"properties": {
"city": {
"type": "string"
},
"country": {
"type": "string"
}
},
"required": [
"city"
]
}
}
}
]
},
"ecommerce": {
"tools": [
{
"type": "function",
"function": {
"name": "search_products",
"description": "Search the product catalog by query and filters.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"category": {
"type": "string"
},
"min_price": {
"type": "number"
},
"max_price": {
"type": "number"
},
"in_stock_only": {
"type": "boolean"
}
},
"required": [
"query"
]
}
}
},
{
"type": "function",
"function": {
"name": "get_product_details",
"description": "Retrieve full details for a product by ID.",
"parameters": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
}
},
"required": [
"product_id"
]
}
}
},
{
"type": "function",
"function": {
"name": "add_to_cart",
"description": "Add a product to the user's shopping cart.",
"parameters": {
"type": "object",
"properties": {
"product_id": {
"type": "string"
},
"quantity": {
"type": "integer"
}
},
"required": [
"product_id",
"quantity"
]
}
}
},
{
"type": "function",
"function": {
"name": "apply_coupon",
"description": "Apply a discount coupon code to the current cart.",
"parameters": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"cart_id": {
"type": "string"
}
},
"required": [
"code"
]
}
}
},
{
"type": "function",
"function": {
"name": "checkout",
"description": "Finalize the cart and place an order.",
"parameters": {
"type": "object",
"properties": {
"cart_id": {
"type": "string"
},
"shipping_address": {
"type": "string"
},
"payment_method_id": {
"type": "string"
}
},
"required": [
"cart_id",
"shipping_address",
"payment_method_id"
]
}
}
},
{
"type": "function",
"function": {
"name": "get_order_status",
"description": "Look up the status of an existing order.",
"parameters": {
"type": "object",
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
]
}
}
}
]
},
"devops": {
"tools": [
{
"type": "function",
"function": {
"name": "list_deployments",
"description": "List recent deployments for a service in an environment.",
"parameters": {
"type": "object",
"properties": {
"service": {
"type": "string"
},
"environment": {
"type": "string",
"enum": [
"staging",
"production"
]
},
"limit": {
"type": "integer"
}
},
"required": [
"service",
"environment"
]
}
}
},
{
"type": "function",
"function": {
"name": "get_deployment_logs",
"description": "Fetch logs for a specific deployment.",
"parameters": {
"type": "object",
"properties": {
"deployment_id": {
"type": "string"
},
"log_level": {
"type": "string",
"enum": [
"debug",
"info",
"warn",
"error"
]
},
"tail_lines": {
"type": "integer"
}
},
"required": [
"deployment_id"
]
}
}
},
{
"type": "function",
"function": {
"name": "rollback_deployment",
"description": "Rollback a deployment to a previous stable version.",
"parameters": {
"type": "object",
"properties": {
"deployment_id": {
"type": "string"
},
"target_version": {
"type": "string"
}
},
"required": [
"deployment_id"
]
}
}
},
{
"type": "function",
"function": {
"name": "scale_service",
"description": "Scale a service to a given number of replicas.",
"parameters": {
"type": "object",
"properties": {
"service": {
"type": "string"
},
"environment": {
"type": "string"
},
"replicas": {
"type": "integer"
}
},
"required": [
"service",
"environment",
"replicas"
]
}
}
},
{
"type": "function",
"function": {
"name": "trigger_ci_pipeline",
"description": "Manually trigger a CI pipeline run for a repository branch.",
"parameters": {
"type": "object",
"properties": {
"repo": {
"type": "string"
},
"branch": {
"type": "string"
}
},
"required": [
"repo",
"branch"
]
}
}
}
]
},
"crm": {
"tools": [
{
"type": "function",
"function": {
"name": "lookup_contact",
"description": "Look up a contact in the CRM by name or email.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"match_on": {
"type": "string",
"enum": [
"name",
"email",
"phone"
]
}
},
"required": [
"query"
]
}
}
},
{
"type": "function",
"function": {
"name": "create_contact",
"description": "Create a new contact record.",
"parameters": {
"type": "object",
"properties": {
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"email": {
"type": "string"
},
"company": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"first_name",
"last_name"
]
}
}
},
{
"type": "function",
"function": {
"name": "log_activity",
"description": "Log an activity (call, email, meeting) against a contact.",
"parameters": {
"type": "object",
"properties": {
"contact_id": {
"type": "string"
},
"activity_type": {
"type": "string",
"enum": [
"call",
"email",
"meeting",
"note"
]
},
"summary": {
"type": "string"
}
},
"required": [
"contact_id",
"activity_type",
"summary"
]
}
}
},
{
"type": "function",
"function": {
"name": "update_deal_stage",
"description": "Move a deal to a new pipeline stage.",
"parameters": {
"type": "object",
"properties": {
"deal_id": {
"type": "string"
},
"new_stage": {
"type": "string"
}
},
"required": [
"deal_id",
"new_stage"
]
}
}
},
{
"type": "function",
"function": {
"name": "list_open_deals",
"description": "List open deals for the current user, optionally filtered by min value.",
"parameters": {
"type": "object",
"properties": {
"min_value": {
"type": "number"
},
"owner_id": {
"type": "string"
}
},
"required": []
}
}
}
]
},
"calendar": {
"tools": [
{
"type": "function",
"function": {
"name": "list_calendar_events",
"description": "List calendar events in a date range.",
"parameters": {
"type": "object",
"properties": {
"start_date": {
"type": "string"
},
"end_date": {
"type": "string"
},
"calendar_id": {
"type": "string"
}
},
"required": [
"start_date",
"end_date"
]
}
}
},
{
"type": "function",
"function": {
"name": "create_event",
"description": "Create a new calendar event with attendees.",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"start": {
"type": "string",
"description": "ISO datetime."
},
"end": {
"type": "string"
},
"attendees": {
"type": "array",
"items": {
"type": "string"
}
},
"location": {
"type": "string"
}
},
"required": [
"title",
"start",
"end"
]
}
}
},
{
"type": "function",
"function": {
"name": "find_free_slots",
"description": "Find common free time slots among multiple attendees.",
"parameters": {
"type": "object",
"properties": {
"attendees": {
"type": "array",
"items": {
"type": "string"
}
},
"date": {
"type": "string"
},
"duration_minutes": {
"type": "integer"
}
},
"required": [
"attendees",
"date",
"duration_minutes"
]
}
}
},
{
"type": "function",
"function": {
"name": "reschedule_event",
"description": "Reschedule an existing event to a new time.",
"parameters": {
"type": "object",
"properties": {
"event_id": {
"type": "string"
},
"new_start": {
"type": "string"
},
"new_end": {
"type": "string"
}
},
"required": [
"event_id",
"new_start"
]
}
}
},
{
"type": "function",
"function": {
"name": "cancel_event",
"description": "Cancel a calendar event and notify attendees.",
"parameters": {
"type": "object",
"properties": {
"event_id": {
"type": "string"
},
"notify": {
"type": "boolean"
}
},
"required": [
"event_id"
]
}
}
}
]
},
"email": {
"tools": [
{
"type": "function",
"function": {
"name": "search_emails",
"description": "Search the user's mailbox by keyword, sender, or label.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"sender": {
"type": "string"
},
"label": {
"type": "string"
},
"max_results": {
"type": "integer"
}
},
"required": [
"query"
]
}
}
},
{
"type": "function",
"function": {
"name": "read_email",
"description": "Retrieve the full body of an email by ID.",
"parameters": {
"type": "object",
"properties": {
"email_id": {
"type": "string"
}
},
"required": [
"email_id"
]
}
}
},
{
"type": "function",
"function": {
"name": "send_email",
"description": "Send a new email.",
"parameters": {
"type": "object",
"properties": {
"to": {
"type": "array",
"items": {
"type": "string"
}
},
"subject": {
"type": "string"
},
"body": {
"type": "string"
},
"cc": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"to",
"subject",
"body"
]
}
}
},
{
"type": "function",
"function": {
"name": "reply_email",
"description": "Reply to an existing email thread.",
"parameters": {
"type": "object",
"properties": {
"email_id": {
"type": "string"
},
"body": {
"type": "string"
},
"reply_all": {
"type": "boolean"
}
},
"required": [
"email_id",
"body"
]
}
}
},
{
"type": "function",
"function": {
"name": "forward_email",
"description": "Forward an email to new recipients.",
"parameters": {
"type": "object",
"properties": {
"email_id": {
"type": "string"
},
"to": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": "string"
}
},
"required": [
"email_id",
"to"
]
}
}
}
]
},
"database": {
"tools": [
{
"type": "function",
"function": {
"name": "list_tables",
"description": "List all tables in the connected database.",
"parameters": {
"type": "object",
"properties": {
"schema": {
"type": "string"
}
},
"required": []
}
}
},
{
"type": "function",
"function": {
"name": "describe_table",
"description": "Describe columns, types, and constraints for a table.",
"parameters": {
"type": "object",
"properties": {
"table_name": {
"type": "string"
},
"schema": {
"type": "string"
}
},
"required": [
"table_name"
]
}
}
},
{
"type": "function",
"function": {
"name": "run_sql_query",
"description": "Execute a read-only SQL query and return rows.",
"parameters": {
"type": "object",
"properties": {
"sql": {
"type": "string"
},
"limit": {
"type": "integer",
"description": "Max rows to return. Default 100."
}
},
"required": [
"sql"
]
}
}
},
{
"type": "function",
"function": {
"name": "insert_row",
"description": "Insert a row into a table.",
"parameters": {
"type": "object",
"properties": {
"table_name": {
"type": "string"
},
"values": {
"type": "object",
"description": "Column name -> value mapping."
}
},
"required": [
"table_name",
"values"
]
}
}
},
{
"type": "function",
"function": {
"name": "update_row",
"description": "Update rows in a table matching a WHERE clause.",
"parameters": {
"type": "object",
"properties": {
"table_name": {
"type": "string"
},
"set": {
"type": "object",
"description": "Column name -> new value."
},
"where": {
"type": "string",
"description": "SQL WHERE clause without the keyword."
}
},
"required": [
"table_name",
"set",
"where"
]
}
}
}
]
}
}