Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Output
Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Output =
object
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:6701
Properties
Section titled “Properties”response
Section titled “response”response:
string
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:6705
The generated text response from the model
tool_calls?
Section titled “tool_calls?”
optionaltool_calls:object[]
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:6726
An array of tool calls requests made during the response generation
function?
Section titled “function?”
optionalfunction:object
Details of the function tool.
function.arguments?
Section titled “function.arguments?”
optionalarguments:object
The arguments passed to be passed to the tool call request
function.name?
Section titled “function.name?”
optionalname:string
The name of the tool to be called
optionalid:string
The tool call id.
optionaltype:string
Specifies the type of tool (e.g., ‘function’).
usage?
Section titled “usage?”
optionalusage:object
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:6709
Usage statistics for the inference request
completion_tokens?
Section titled “completion_tokens?”
optionalcompletion_tokens:number
Total number of tokens in output
prompt_tokens?
Section titled “prompt_tokens?”
optionalprompt_tokens:number
Total number of tokens in input
total_tokens?
Section titled “total_tokens?”
optionaltotal_tokens:number
Total number of input and output tokens