2026-03-08 20:23:06 -07:00
{
"$schema" : "http://json-schema.org/draft-07/schema#" ,
"definitions" : {
"AbsolutePathBuf" : {
"description" : "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute." ,
"type" : "string"
} ,
"AdditionalFileSystemPermissions" : {
"properties" : {
"read" : {
"items" : {
"$ref" : "#/definitions/AbsolutePathBuf"
} ,
"type" : [
"array" ,
"null"
]
} ,
"write" : {
"items" : {
"$ref" : "#/definitions/AbsolutePathBuf"
} ,
"type" : [
"array" ,
"null"
]
}
} ,
"type" : "object"
} ,
"AdditionalNetworkPermissions" : {
"properties" : {
"enabled" : {
"type" : [
"boolean" ,
"null"
]
}
} ,
"type" : "object"
} ,
2026-03-16 10:12:23 -07:00
"RequestPermissionProfile" : {
"additionalProperties" : false ,
2026-03-08 20:23:06 -07:00
"properties" : {
"fileSystem" : {
"anyOf" : [
{
"$ref" : "#/definitions/AdditionalFileSystemPermissions"
} ,
{
"type" : "null"
}
]
} ,
"network" : {
"anyOf" : [
{
"$ref" : "#/definitions/AdditionalNetworkPermissions"
} ,
{
"type" : "null"
}
]
}
} ,
"type" : "object"
}
} ,
"properties" : {
"itemId" : {
"type" : "string"
} ,
"permissions" : {
2026-03-16 10:12:23 -07:00
"$ref" : "#/definitions/RequestPermissionProfile"
2026-03-08 20:23:06 -07:00
} ,
"reason" : {
"type" : [
"string" ,
"null"
]
} ,
"threadId" : {
"type" : "string"
} ,
"turnId" : {
"type" : "string"
}
} ,
"required" : [
"itemId" ,
"permissions" ,
"threadId" ,
"turnId"
] ,
"title" : "PermissionsRequestApprovalParams" ,
"type" : "object"
}