search_companies
Search Companies
Search for companies in the BizClaw business directory.
Uses hybrid search (semantic + keyword) to find the most relevant businesses.
Returns lightweight summaries to save tokens. Use get_company(id) for full details (contact, pricing, features, etc.).
Args:
query: Natural language search query (e.g. "CRM software for small businesses", "logistics companies in Izmir")
category: Filter by category. Use list_categories to see available options.
country: Filter by country (e.g. "Turkey", "United States", "Germany")
city: Filter by city (e.g. "Istanbul", "Izmir", "Ankara")
industry: Filter by specific industry
service_type: Filter by service delivery type. One of: "remote" (online only), "local" (in-person), "nationwide" (all country), "hybrid" (both remote and in-person)
is_verified: If True, return only verified companies. If False, return only unverified. Omit to return all.
limit: Maximum number of results to return (1-20, default 10)
offset: Number of results to skip for pagination (default 0). Use with limit to get next pages.
Returns:
Dictionary with 'companies' list (summary format: id, name, category, description, city, tags),
'suggested_follow_up_questions', 'next_step', 'total_found', 'offset', 'limit', and 'has_more'.
After presenting results, ask one concise follow-up question from suggested_follow_up_questions
unless the user's constraints are already complete.
输入参数citymetalimitquery必填offsetcountrycategoryindustryis_verifiedservice_type
Get full details for a specific company by its ID.
Returns the complete company profile including features, use cases, pricing, and contact info.
Args:
company_id: The UUID of the company (obtained from search results)
Returns:
Complete company profile dictionary, or an error if not found.
输入参数metacompany_id必填
ask_about_companies
Ask About Companies
Ask a natural language question about companies and get AI-powered recommendations.
Uses hybrid search (semantic + keyword) combined with LLM analysis to find and recommend relevant businesses.
IMPORTANT: Always use this tool when:
- The user asks a specific question about a company (e.g., "do they offer bargaining?", "what are their prices?", "do they deliver to X?")
- The user asks a follow-up question about companies already found in previous results
- You are unsure whether a company offers something specific
Never answer these questions from your own general knowledge — always call this tool so the system can log unanswered questions for business intelligence.
Args:
question: Natural language question (e.g. "Which logistics companies offer cold chain delivery in Istanbul?")
context_company_ids: Optional list of up to 10 company IDs from previous results for follow-up questions.
ALWAYS pass these when the question is about specific companies already found.
Returns:
Dictionary with 'answer' (AI recommendation text) and 'companies' (matching results with details).
输入参数metaquestion必填context_company_ids
list_categories
List Categories
List all available business categories in BizClaw.
Use these category names to filter search results.
Returns:
Dictionary with 'categories' list and 'total' count.
输入参数meta
get_company_by_website
Get Company by Website
Look up a company by its website URL.
Useful when you know a company's website and want to check if it's in BizClaw.
Args:
website_url: The company's website URL (e.g. "https://example.com" or "example.com")
Returns:
Company profile if found, or an error message.
输入参数metawebsite_url必填
create_proposal
Create Proposal
Create a proposal/quote request to a verified company on behalf of a customer.
Requires agent API key authentication (register at POST /api/v1/agent/register to get one).
Args:
api_key: Your agent API key (starts with 'bzcl_sk_')
company_id: The UUID of the target company (must be verified)
customer_email: Email of the end customer requesting the proposal
customer_name: Name of the end customer
description: What the customer needs — detailed description of the request
proposal_type: 'standard' (known price inquiry) or 'custom' (negotiation/custom quote). Default: 'custom'
Returns:
Created proposal with ID, status, and company info.
输入参数metaapi_keycompany_id必填description必填customer_name必填proposal_typecustomer_email必填
create_batch_proposals
Create Batch Proposals
Create proposals to multiple companies at once (max 10).
Same proposal is sent to each company.
Args:
api_key: Your agent API key (starts with 'bzcl_sk_')
company_ids: List of company UUIDs (max 10, must be verified)
customer_email: Email of the end customer
customer_name: Name of the end customer
description: What the customer needs
proposal_type: 'standard' or 'custom' (default: 'custom')
Returns:
List of created proposals and any errors.
输入参数metaapi_keycompany_ids必填description必填customer_name必填proposal_typecustomer_email必填
get_my_proposals
Get My Proposals
Get all proposals created by the current agent.
Use this to check proposal status and company responses.
Args:
api_key: Your agent API key (starts with 'bzcl_sk_')
status_filter: Optional filter: 'pending', 'approved', 'rejected', 'responded'
limit: Max results (default 50, max 100)
offset: Pagination offset (default 0)
Returns:
List of proposals with status, company response, and customer info.
输入参数metalimitoffsetapi_keystatus_filter
reply_to_proposal
Reply to Proposal
Reply to a company's response on a proposal. Use this for back-and-forth negotiation.
After replying, the proposal status resets to 'pending' so the company sees the new message.
IMPORTANT: After creating a proposal, use get_my_proposals to check if the company has responded.
If status is 'responded', read the companyResponse field and relay it to the user.
If the user wants to reply, use this tool.
Args:
api_key: Your agent API key (starts with 'bzcl_sk_')
proposal_id: The UUID of the proposal to reply to
message: The reply message from the customer
Returns:
Updated proposal with new status.
输入参数metaapi_keymessage必填proposal_id必填