ProjectHostedToolPermissionsRequest
data class ProjectHostedToolPermissionsRequest(val codeInterpreter: HostedToolPermission? = null, val fileSearch: HostedToolPermission? = null, val imageGeneration: HostedToolPermission? = null, val mcp: HostedToolPermission? = null, val webSearch: HostedToolPermission? = null, val nullFields: Set<HostedTool> = emptySet())
Updates supplied tool states; nullFields explicitly sends JSON null for selected tools.
Constructors
Link copied to clipboard
constructor(codeInterpreter: HostedToolPermission? = null, fileSearch: HostedToolPermission? = null, imageGeneration: HostedToolPermission? = null, mcp: HostedToolPermission? = null, webSearch: HostedToolPermission? = null, nullFields: Set<HostedTool> = emptySet())
Properties
Link copied to clipboard
Code interpreter update; null normally omits this field.
Link copied to clipboard
File search update; null normally omits this field.
Link copied to clipboard
Image generation update; null normally omits this field.
Link copied to clipboard
MCP update; null normally omits this field.
Link copied to clipboard
Fields to send as JSON null rather than omit. Null semantics remain defined by the API.
Link copied to clipboard
Web search update; null normally omits this field.