Source code

Revision control

Copy as Markdown

Other Tools

[language-model-tool-use.tentative.https.window.html]
[createLanguageModel should reject when tool has null inputSchema.]
expected: FAIL
[createLanguageModel should reject when tool inputSchema is empty object without type property.]
expected: FAIL
[createLanguageModel should reject when tool inputSchema is not an object.]
expected: FAIL
[createLanguageModel should reject when tool inputSchema has no type property.]
expected: FAIL
[createLanguageModel should reject when tool inputSchema type is not object.]
expected: FAIL
[createLanguageModel should reject when tool inputSchema properties is not an object.]
expected: FAIL
[createLanguageModel should reject when tool inputSchema required is not an array.]
expected: FAIL
[createLanguageModel should propagate exception when inputSchema getter throws.]
expected: FAIL
[createLanguageModel should propagate exception when inputSchema type getter throws.]
expected: FAIL
[createLanguageModel should reject when tool has empty name.]
expected: FAIL
[createLanguageModel should reject when tool has empty description.]
expected: FAIL
[createLanguageModel should reject when tools array contains duplicate tool names.]
expected: FAIL
[createLanguageModel should reject when tool has no inputSchema.]
expected: FAIL
[createLanguageModel should reject when tool has circular reference in inputSchema]
expected: FAIL
[createLanguageModel should reject when all tools have circular references]
expected: FAIL
[createLanguageModel should propagate V8 exception from custom toJSON()]
expected: FAIL
[createLanguageModel should propagate V8 exception from custom getter during serialization]
expected: FAIL
[createLanguageModel should fail-fast when one tool among many is invalid]
expected: FAIL
[createLanguageModel with schema containing invalid-JSON-like text (trailing commas, comments) as string content succeeds because JSON.stringify escapes properly]
expected: FAIL
[createLanguageModel should succeed with empty tools array.]
expected: FAIL
[createLanguageModel should succeed with no tools property.]
expected: FAIL
[createLanguageModel should reject when tools provided but expectedOutputs is missing.]
expected: FAIL
[createLanguageModel should reject when tools provided but expectedOutputs does not include tool-call.]
expected: FAIL
[createLanguageModel should succeed when tools provided with tool-call in expectedOutputs.]
expected: FAIL
[createLanguageModel should succeed with tool-call in expectedOutputs but no tools.]
expected: FAIL
[prompt() should return structured tool call messages in open-loop pattern]
expected: FAIL
[Open-loop pattern - send tool response via follow-up prompt]
expected: FAIL
[Tool response with DOM object (ImageBitmap) labeled as type object should reject]
expected: FAIL
[Multimodal tool response with ImageBitmap throws NotSupportedError]
expected: FAIL
[Multimodal tool response with AudioBuffer throws NotSupportedError]
expected: FAIL
[promptStreaming() should stream tool call messages]
expected: FAIL
[Tool with no arguments should have empty arguments object]
expected: FAIL
[Multiple tools can be declared and called]
expected: FAIL
[Tool response can include error field]
expected: FAIL
[Tool response with circular reference should reject with DataError]
expected: FAIL
[Tool response with function value should reject with DataError]
expected: FAIL
[Tool response with BigInt value should reject with DataError]
expected: FAIL
[Tool response with valid serializable values should succeed]
expected: FAIL
[Cloned model should preserve tools]
expected: FAIL
[prompt() returns both text and tool call in correct order when model outputs mixed response]
expected: FAIL
[prompt() should handle multiple batches of tool calls from model]
expected: FAIL
[promptStreaming() should handle multiple batches of tool calls from model]
expected: FAIL