Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
The projection these were generated from predated the compute migration, so
they described /v1/visor — which the API serves at zero paths now.

No /v1/visor path survives here.
2026-09-05 18:55:38 -07:00

36 lines
995 B
Swift

//
// ToolCall.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct ToolCall: Sendable, Codable, ParameterConvertible, Hashable {
/** Arguments is the tool's own input object, passed through verbatim to whichever source owns it. */
public var arguments: [String: JSONValue]?
/** Name is the tool to run, exactly as GET /v1/tool reports it. */
public var name: String?
public init(arguments: [String: JSONValue]? = nil, name: String? = nil) {
self.arguments = arguments
self.name = name
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case arguments
case name
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(arguments, forKey: .arguments)
try container.encodeIfPresent(name, forKey: .name)
}
}