answer_question
Answer a question in one call from the provider’s own search, and return the answer with the sources it cites. Faster and cheaper than research_question. Use for a factual question with a short answer. Do not use for a question that needs many sources compared or a long report (use research_question), or to find pages (use search_web). Defaults to exa. Set provider to choose another supported provider; Fieldwork never switches providers after an error.
/api/v1/tools/answer_questionAuthorizationBearer token · headerrequiredA Fieldwork gateway key, issued per agent by the operator. Send it as Authorization: Bearer <key>.
application/jsonproviderstringexatavilyparallelbravetimeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
questionstringrequiredThe question, with any context the answer depends on.
schemaobjectA JSON Schema object for the answer, which then comes back as output.
countrystringLocalize the answer to this country, as a two-letter ISO code such as GB.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
questionstringrequiredThe question, with any context the answer depends on.
schemaobjectA JSON Schema object for the answer, which then comes back as output.
countrystringLocalize the answer to this country, as a two-letter ISO code such as GB.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredquestionstringrequiredThe question, with any context the answer depends on.
limitintegerHow many search results to base the answer on.
includeDomainsstring[]Only use sources from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
excludeDomainsstring[]Leave out sources from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
publishedAfterstring<date>Only pages published on or after this date, YYYY-MM-DD.
publishedBeforestring<date>Only pages published before this date, YYYY-MM-DD.
recencystringOnly pages from the last day, week, month or year.
dayweekmonthyearcountrystringLocalize the answer to this country, as a two-letter ISO code such as GB.
languagestringPrefer pages in this language, as an ISO 639-1 code such as en.
maxAgeintegerUse a cached copy of the page if it is no older than this many seconds. 0 always fetches a fresh copy.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredquestionstringrequiredThe question, with any context the answer depends on.
schemaobjectA JSON Schema object for the answer, which then comes back as output.
continueFromstringThe continuationId of an earlier result, to ask a follow-up in the same thread instead of starting over.
includeDomainsstring[]Only use sources from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
excludeDomainsstring[]Leave out sources from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredquestionstringrequiredThe question, with any context the answer depends on.
countrystringLocalize the answer to this country, as a two-letter ISO code such as GB.
languagestringPrefer pages in this language, as an ISO 639-1 code such as en.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredThe provider that ran the call and its normalized result.
providerstringrequiredexatavilyparallelbraverequestIdstringrequiredresultobjectrequiredShow propertiesHide properties
answerstringrequiredcitationsobject[]requiredShow propertiesHide properties
objectexcerptsstring[]titlestringurlstringrequiredcontinuationIdstringfieldsobject[]The sources the provider gave for each field.
Show propertiesHide properties
objectcitationsobject[]requiredShow propertiesHide properties
objectexcerptsstring[]titlestringurlstringrequiredconfidenceanyThe provider's own confidence label or score.
fieldstringrequiredreasoningstringmetaobjectRequest details from the provider: its request id, what it charged and any warnings.
Show propertiesHide properties
requestIdstringusageobjectShow propertiesHide properties
costUsdnumbercreditsnumberunitsobjectwarningsstring[]outputanyThe answer in the shape of the schema, when one was given.
truncatedobject[]One entry for each cut text field; absent when nothing was cut.
Show propertiesHide properties
objectlengthintegerrequiredOriginal character length.
pathstringrequiredshownintegerrequiredCharacters shown before the inline cut note.
A refusal or a failed call. Branch on error.code; never parse the message.
errorobjectrequiredShow propertiesHide properties
codestringrequiredAbortedInvalidRequestJobFailedNotAFileNotFoundProviderErrorRateLimitedTimeoutTooLargeUnauthorizedUnsupportedjobIdstringA job that was already started. Pass it as resume instead of repeating the call.
messagestringrequiredproviderstringretryAfternumberSeconds to wait.
retryablebooleanrequiredWhether repeating the same call can succeed.
requestIdstring