extract_values
Read one web page and return the values a JSON Schema asks for, such as dimensions, materials or prices. Use when you have a URL and know which fields you need. Do not use when you need the whole page text (use read_page), or when the values are spread across several sites (use research_question). Defaults to firecrawl. Set provider to choose another supported provider; Fieldwork never switches providers after an error.
/api/v1/tools/extract_valuesAuthorizationBearer token · headerrequiredA Fieldwork gateway key, issued per agent by the operator. Send it as Authorization: Bearer <key>.
application/jsonproviderstringexafirecrawlparalleltimeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
urlstring<uri>requiredThe page's full URL, including https://.
schemaobjectrequiredA JSON Schema object describing the values to return, such as {"type":"object","properties":{"width":{"type":"string"}}}.
promptstringWhat to extract, in plain words, when the schema alone is not enough.
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.
urlstring<uri>requiredThe page's full URL, including https://.
schemaobjectrequiredA JSON Schema object describing the values to return, such as {"type":"object","properties":{"width":{"type":"string"}}}.
promptstringWhat to extract, in plain words, when the schema alone is not enough.
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.
providerstringrequiredurlstring<uri>requiredThe page's full URL, including https://.
schemaobjectrequiredA JSON Schema object describing the values to return, such as {"type":"object","properties":{"width":{"type":"string"}}}.
promptstringWhat to extract, in plain words, when the schema alone is not enough.
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.
providerstringrequiredurlstring<uri>requiredThe page's full URL, including https://.
schemaobjectrequiredA JSON Schema object describing the values to return, such as {"type":"object","properties":{"width":{"type":"string"}}}.
promptstringWhat to extract, in plain words, when the schema alone is not enough.
countrystringSearch from this country, as a two-letter ISO code such as GB.
resumestringThe jobId from an earlier call's error, when that call timed out or was cancelled. Waits for that job instead of starting and paying for a new one.
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.
providerstringrequiredexafirecrawlparallelrequestIdstringrequiredresultobjectrequiredShow propertiesHide properties
dataanyrequiredThe values, in the shape of the schema.
fieldsobject[]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[]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