{
  "service": "gitea",
  "displayName": "Gitea",
  "categories": [
    "Developer Tools"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "Personal Access Token",
      "placeholder": "gitea_pat_xxx",
      "description": "Gitea personal access token. Create it in User Settings > Applications > Manage Access Tokens on your Gitea instance, as documented at https://docs.gitea.com/development/api-usage",
      "extraFields": [
        {
          "key": "baseUrl",
          "label": "Base URL",
          "inputType": "text",
          "required": true,
          "secret": false,
          "placeholder": "https://gitea.example.com",
          "description": "Gitea instance base URL, such as https://gitea.com or your self-hosted domain. URLs ending in /api/v1 are also accepted."
        }
      ]
    }
  ],
  "homepageUrl": "https://about.gitea.com/products/gitea/",
  "actions": [
    {
      "id": "gitea.create_issue",
      "service": "gitea",
      "name": "create_issue",
      "description": "Create an issue in a Gitea repository.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "Owner of the repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the repository."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "description": "Title of the issue."
          },
          "body": {
            "type": "string",
            "description": "Body of the issue."
          },
          "assignees": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "An assignee username."
            },
            "description": "Usernames to assign to the issue."
          },
          "labelIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 1,
              "description": "A label ID."
            },
            "description": "Label IDs to attach to the issue."
          },
          "milestoneId": {
            "type": "integer",
            "minimum": 1,
            "description": "Milestone ID to attach to the issue."
          },
          "ref": {
            "type": "string",
            "minLength": 1,
            "description": "Git reference associated with the issue."
          },
          "dueDate": {
            "type": "string",
            "minLength": 1,
            "description": "Issue deadline in RFC 3339 format. Gitea only uses the date component."
          },
          "closed": {
            "type": "boolean",
            "description": "Whether the issue should be created in the closed state."
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo",
          "title"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Numeric issue ID."
          },
          "number": {
            "type": "integer",
            "description": "Issue number within the repository."
          },
          "title": {
            "type": "string",
            "description": "Issue title."
          },
          "body": {
            "anyOf": [
              {
                "type": "string",
                "description": "Issue body."
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "type": "string",
            "description": "Issue state."
          },
          "html_url": {
            "type": "string",
            "description": "HTML URL of the issue."
          },
          "url": {
            "type": "string",
            "description": "API URL of the issue."
          },
          "comments": {
            "type": "integer",
            "description": "Number of comments on the issue."
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "closed_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "Timestamp when the issue was closed."
              },
              {
                "type": "null"
              }
            ]
          },
          "due_date": {
            "anyOf": [
              {
                "type": "string",
                "description": "Issue due date."
              },
              {
                "type": "null"
              }
            ]
          },
          "ref": {
            "anyOf": [
              {
                "type": "string",
                "description": "Git reference associated with the issue."
              },
              {
                "type": "null"
              }
            ]
          },
          "is_locked": {
            "type": "boolean",
            "description": "Whether the issue is locked."
          },
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "description": "Numeric user ID."
              },
              "login": {
                "type": "string",
                "description": "Username of the Gitea account."
              },
              "full_name": {
                "type": "string",
                "description": "Full display name of the user."
              },
              "email": {
                "type": "string",
                "description": "Email address of the user when visible."
              },
              "avatar_url": {
                "type": "string",
                "description": "Avatar URL of the user."
              },
              "html_url": {
                "type": "string",
                "description": "HTML URL of the user profile."
              },
              "language": {
                "type": "string",
                "description": "Preferred language of the user."
              },
              "location": {
                "type": "string",
                "description": "Profile location of the user."
              },
              "website": {
                "type": "string",
                "description": "Website configured on the user profile."
              },
              "description": {
                "type": "string",
                "description": "Profile description or bio of the user."
              },
              "visibility": {
                "type": "string",
                "description": "Visibility setting of the user profile."
              },
              "is_admin": {
                "type": "boolean",
                "description": "Whether the user is a site administrator."
              },
              "restricted": {
                "type": "boolean",
                "description": "Whether the user account is restricted."
              },
              "active": {
                "type": "boolean",
                "description": "Whether the user account is active."
              },
              "created": {
                "type": "string",
                "description": "Timestamp in ISO 8601 / RFC 3339 format."
              },
              "last_login": {
                "type": "string",
                "description": "Timestamp in ISO 8601 / RFC 3339 format."
              }
            },
            "additionalProperties": true,
            "description": "A Gitea user record."
          },
          "assignee": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "Numeric user ID."
                  },
                  "login": {
                    "type": "string",
                    "description": "Username of the Gitea account."
                  },
                  "full_name": {
                    "type": "string",
                    "description": "Full display name of the user."
                  },
                  "email": {
                    "type": "string",
                    "description": "Email address of the user when visible."
                  },
                  "avatar_url": {
                    "type": "string",
                    "description": "Avatar URL of the user."
                  },
                  "html_url": {
                    "type": "string",
                    "description": "HTML URL of the user profile."
                  },
                  "language": {
                    "type": "string",
                    "description": "Preferred language of the user."
                  },
                  "location": {
                    "type": "string",
                    "description": "Profile location of the user."
                  },
                  "website": {
                    "type": "string",
                    "description": "Website configured on the user profile."
                  },
                  "description": {
                    "type": "string",
                    "description": "Profile description or bio of the user."
                  },
                  "visibility": {
                    "type": "string",
                    "description": "Visibility setting of the user profile."
                  },
                  "is_admin": {
                    "type": "boolean",
                    "description": "Whether the user is a site administrator."
                  },
                  "restricted": {
                    "type": "boolean",
                    "description": "Whether the user account is restricted."
                  },
                  "active": {
                    "type": "boolean",
                    "description": "Whether the user account is active."
                  },
                  "created": {
                    "type": "string",
                    "description": "Timestamp in ISO 8601 / RFC 3339 format."
                  },
                  "last_login": {
                    "type": "string",
                    "description": "Timestamp in ISO 8601 / RFC 3339 format."
                  }
                },
                "additionalProperties": true,
                "description": "A Gitea user record."
              },
              {
                "type": "null"
              }
            ]
          },
          "assignees": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Numeric user ID."
                },
                "login": {
                  "type": "string",
                  "description": "Username of the Gitea account."
                },
                "full_name": {
                  "type": "string",
                  "description": "Full display name of the user."
                },
                "email": {
                  "type": "string",
                  "description": "Email address of the user when visible."
                },
                "avatar_url": {
                  "type": "string",
                  "description": "Avatar URL of the user."
                },
                "html_url": {
                  "type": "string",
                  "description": "HTML URL of the user profile."
                },
                "language": {
                  "type": "string",
                  "description": "Preferred language of the user."
                },
                "location": {
                  "type": "string",
                  "description": "Profile location of the user."
                },
                "website": {
                  "type": "string",
                  "description": "Website configured on the user profile."
                },
                "description": {
                  "type": "string",
                  "description": "Profile description or bio of the user."
                },
                "visibility": {
                  "type": "string",
                  "description": "Visibility setting of the user profile."
                },
                "is_admin": {
                  "type": "boolean",
                  "description": "Whether the user is a site administrator."
                },
                "restricted": {
                  "type": "boolean",
                  "description": "Whether the user account is restricted."
                },
                "active": {
                  "type": "boolean",
                  "description": "Whether the user account is active."
                },
                "created": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                },
                "last_login": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                }
              },
              "additionalProperties": true,
              "description": "A Gitea user record."
            },
            "description": "Assignees of the issue."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Numeric label ID."
                },
                "name": {
                  "type": "string",
                  "description": "Label name."
                },
                "color": {
                  "type": "string",
                  "description": "Hex color value configured for the label."
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Description configured for the label."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "exclusive": {
                  "type": "boolean",
                  "description": "Whether the label is exclusive."
                },
                "is_archived": {
                  "type": "boolean",
                  "description": "Whether the label is archived."
                }
              },
              "additionalProperties": true,
              "description": "A Gitea issue label."
            },
            "description": "Labels attached to the issue."
          },
          "milestone": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "Numeric milestone ID."
                  },
                  "title": {
                    "type": "string",
                    "description": "Milestone title."
                  },
                  "state": {
                    "type": "string",
                    "description": "Current milestone state."
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "Milestone description."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "due_on": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "Due date of the milestone."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "closed_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "Timestamp when the milestone was closed."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": true,
                "description": "A Gitea milestone."
              },
              {
                "type": "null"
              }
            ]
          },
          "repository": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "description": "Numeric repository ID."
              },
              "name": {
                "type": "string",
                "description": "Repository name."
              },
              "owner": {
                "type": "string",
                "description": "Repository owner name."
              },
              "full_name": {
                "type": "string",
                "description": "Full repository name including owner."
              }
            },
            "additionalProperties": true,
            "description": "A compact Gitea repository record."
          },
          "pull_request": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Gitea API object."
          }
        },
        "additionalProperties": true,
        "description": "A Gitea issue record."
      },
      "followUpActions": [
        "gitea.create_issue_comment"
      ]
    },
    {
      "id": "gitea.create_issue_comment",
      "service": "gitea",
      "name": "create_issue_comment",
      "description": "Create a comment on a Gitea issue.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "Owner of the repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the repository."
          },
          "issueNumber": {
            "type": "integer",
            "minimum": 1,
            "description": "Issue number within the repository."
          },
          "body": {
            "type": "string",
            "minLength": 1,
            "description": "Comment body."
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo",
          "issueNumber",
          "body"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Numeric comment ID."
          },
          "body": {
            "type": "string",
            "description": "Comment body."
          },
          "html_url": {
            "type": "string",
            "description": "HTML URL of the comment."
          },
          "issue_url": {
            "type": "string",
            "description": "API URL of the parent issue."
          },
          "pull_request_url": {
            "anyOf": [
              {
                "type": "string",
                "description": "API URL of the related pull request."
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "description": "Numeric user ID."
              },
              "login": {
                "type": "string",
                "description": "Username of the Gitea account."
              },
              "full_name": {
                "type": "string",
                "description": "Full display name of the user."
              },
              "email": {
                "type": "string",
                "description": "Email address of the user when visible."
              },
              "avatar_url": {
                "type": "string",
                "description": "Avatar URL of the user."
              },
              "html_url": {
                "type": "string",
                "description": "HTML URL of the user profile."
              },
              "language": {
                "type": "string",
                "description": "Preferred language of the user."
              },
              "location": {
                "type": "string",
                "description": "Profile location of the user."
              },
              "website": {
                "type": "string",
                "description": "Website configured on the user profile."
              },
              "description": {
                "type": "string",
                "description": "Profile description or bio of the user."
              },
              "visibility": {
                "type": "string",
                "description": "Visibility setting of the user profile."
              },
              "is_admin": {
                "type": "boolean",
                "description": "Whether the user is a site administrator."
              },
              "restricted": {
                "type": "boolean",
                "description": "Whether the user account is restricted."
              },
              "active": {
                "type": "boolean",
                "description": "Whether the user account is active."
              },
              "created": {
                "type": "string",
                "description": "Timestamp in ISO 8601 / RFC 3339 format."
              },
              "last_login": {
                "type": "string",
                "description": "Timestamp in ISO 8601 / RFC 3339 format."
              }
            },
            "additionalProperties": true,
            "description": "A Gitea user record."
          },
          "assets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Gitea API object."
            },
            "description": "Attachments included with the comment."
          }
        },
        "additionalProperties": true,
        "description": "A Gitea issue comment."
      }
    },
    {
      "id": "gitea.get_current_user",
      "service": "gitea",
      "name": "get_current_user",
      "description": "Get the current authenticated Gitea user profile.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Numeric user ID."
          },
          "login": {
            "type": "string",
            "description": "Username of the Gitea account."
          },
          "full_name": {
            "type": "string",
            "description": "Full display name of the user."
          },
          "email": {
            "type": "string",
            "description": "Email address of the user when visible."
          },
          "avatar_url": {
            "type": "string",
            "description": "Avatar URL of the user."
          },
          "html_url": {
            "type": "string",
            "description": "HTML URL of the user profile."
          },
          "language": {
            "type": "string",
            "description": "Preferred language of the user."
          },
          "location": {
            "type": "string",
            "description": "Profile location of the user."
          },
          "website": {
            "type": "string",
            "description": "Website configured on the user profile."
          },
          "description": {
            "type": "string",
            "description": "Profile description or bio of the user."
          },
          "visibility": {
            "type": "string",
            "description": "Visibility setting of the user profile."
          },
          "is_admin": {
            "type": "boolean",
            "description": "Whether the user is a site administrator."
          },
          "restricted": {
            "type": "boolean",
            "description": "Whether the user account is restricted."
          },
          "active": {
            "type": "boolean",
            "description": "Whether the user account is active."
          },
          "created": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "last_login": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          }
        },
        "additionalProperties": true,
        "description": "A Gitea user record."
      },
      "followUpActions": [
        "gitea.list_my_repositories"
      ]
    },
    {
      "id": "gitea.get_issue",
      "service": "gitea",
      "name": "get_issue",
      "description": "Get a Gitea issue by repository and issue number.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "Owner of the repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the repository."
          },
          "issueNumber": {
            "type": "integer",
            "minimum": 1,
            "description": "Issue number within the repository."
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo",
          "issueNumber"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Numeric issue ID."
          },
          "number": {
            "type": "integer",
            "description": "Issue number within the repository."
          },
          "title": {
            "type": "string",
            "description": "Issue title."
          },
          "body": {
            "anyOf": [
              {
                "type": "string",
                "description": "Issue body."
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "type": "string",
            "description": "Issue state."
          },
          "html_url": {
            "type": "string",
            "description": "HTML URL of the issue."
          },
          "url": {
            "type": "string",
            "description": "API URL of the issue."
          },
          "comments": {
            "type": "integer",
            "description": "Number of comments on the issue."
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "closed_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "Timestamp when the issue was closed."
              },
              {
                "type": "null"
              }
            ]
          },
          "due_date": {
            "anyOf": [
              {
                "type": "string",
                "description": "Issue due date."
              },
              {
                "type": "null"
              }
            ]
          },
          "ref": {
            "anyOf": [
              {
                "type": "string",
                "description": "Git reference associated with the issue."
              },
              {
                "type": "null"
              }
            ]
          },
          "is_locked": {
            "type": "boolean",
            "description": "Whether the issue is locked."
          },
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "description": "Numeric user ID."
              },
              "login": {
                "type": "string",
                "description": "Username of the Gitea account."
              },
              "full_name": {
                "type": "string",
                "description": "Full display name of the user."
              },
              "email": {
                "type": "string",
                "description": "Email address of the user when visible."
              },
              "avatar_url": {
                "type": "string",
                "description": "Avatar URL of the user."
              },
              "html_url": {
                "type": "string",
                "description": "HTML URL of the user profile."
              },
              "language": {
                "type": "string",
                "description": "Preferred language of the user."
              },
              "location": {
                "type": "string",
                "description": "Profile location of the user."
              },
              "website": {
                "type": "string",
                "description": "Website configured on the user profile."
              },
              "description": {
                "type": "string",
                "description": "Profile description or bio of the user."
              },
              "visibility": {
                "type": "string",
                "description": "Visibility setting of the user profile."
              },
              "is_admin": {
                "type": "boolean",
                "description": "Whether the user is a site administrator."
              },
              "restricted": {
                "type": "boolean",
                "description": "Whether the user account is restricted."
              },
              "active": {
                "type": "boolean",
                "description": "Whether the user account is active."
              },
              "created": {
                "type": "string",
                "description": "Timestamp in ISO 8601 / RFC 3339 format."
              },
              "last_login": {
                "type": "string",
                "description": "Timestamp in ISO 8601 / RFC 3339 format."
              }
            },
            "additionalProperties": true,
            "description": "A Gitea user record."
          },
          "assignee": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "Numeric user ID."
                  },
                  "login": {
                    "type": "string",
                    "description": "Username of the Gitea account."
                  },
                  "full_name": {
                    "type": "string",
                    "description": "Full display name of the user."
                  },
                  "email": {
                    "type": "string",
                    "description": "Email address of the user when visible."
                  },
                  "avatar_url": {
                    "type": "string",
                    "description": "Avatar URL of the user."
                  },
                  "html_url": {
                    "type": "string",
                    "description": "HTML URL of the user profile."
                  },
                  "language": {
                    "type": "string",
                    "description": "Preferred language of the user."
                  },
                  "location": {
                    "type": "string",
                    "description": "Profile location of the user."
                  },
                  "website": {
                    "type": "string",
                    "description": "Website configured on the user profile."
                  },
                  "description": {
                    "type": "string",
                    "description": "Profile description or bio of the user."
                  },
                  "visibility": {
                    "type": "string",
                    "description": "Visibility setting of the user profile."
                  },
                  "is_admin": {
                    "type": "boolean",
                    "description": "Whether the user is a site administrator."
                  },
                  "restricted": {
                    "type": "boolean",
                    "description": "Whether the user account is restricted."
                  },
                  "active": {
                    "type": "boolean",
                    "description": "Whether the user account is active."
                  },
                  "created": {
                    "type": "string",
                    "description": "Timestamp in ISO 8601 / RFC 3339 format."
                  },
                  "last_login": {
                    "type": "string",
                    "description": "Timestamp in ISO 8601 / RFC 3339 format."
                  }
                },
                "additionalProperties": true,
                "description": "A Gitea user record."
              },
              {
                "type": "null"
              }
            ]
          },
          "assignees": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Numeric user ID."
                },
                "login": {
                  "type": "string",
                  "description": "Username of the Gitea account."
                },
                "full_name": {
                  "type": "string",
                  "description": "Full display name of the user."
                },
                "email": {
                  "type": "string",
                  "description": "Email address of the user when visible."
                },
                "avatar_url": {
                  "type": "string",
                  "description": "Avatar URL of the user."
                },
                "html_url": {
                  "type": "string",
                  "description": "HTML URL of the user profile."
                },
                "language": {
                  "type": "string",
                  "description": "Preferred language of the user."
                },
                "location": {
                  "type": "string",
                  "description": "Profile location of the user."
                },
                "website": {
                  "type": "string",
                  "description": "Website configured on the user profile."
                },
                "description": {
                  "type": "string",
                  "description": "Profile description or bio of the user."
                },
                "visibility": {
                  "type": "string",
                  "description": "Visibility setting of the user profile."
                },
                "is_admin": {
                  "type": "boolean",
                  "description": "Whether the user is a site administrator."
                },
                "restricted": {
                  "type": "boolean",
                  "description": "Whether the user account is restricted."
                },
                "active": {
                  "type": "boolean",
                  "description": "Whether the user account is active."
                },
                "created": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                },
                "last_login": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                }
              },
              "additionalProperties": true,
              "description": "A Gitea user record."
            },
            "description": "Assignees of the issue."
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Numeric label ID."
                },
                "name": {
                  "type": "string",
                  "description": "Label name."
                },
                "color": {
                  "type": "string",
                  "description": "Hex color value configured for the label."
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Description configured for the label."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "exclusive": {
                  "type": "boolean",
                  "description": "Whether the label is exclusive."
                },
                "is_archived": {
                  "type": "boolean",
                  "description": "Whether the label is archived."
                }
              },
              "additionalProperties": true,
              "description": "A Gitea issue label."
            },
            "description": "Labels attached to the issue."
          },
          "milestone": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "Numeric milestone ID."
                  },
                  "title": {
                    "type": "string",
                    "description": "Milestone title."
                  },
                  "state": {
                    "type": "string",
                    "description": "Current milestone state."
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "Milestone description."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "due_on": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "Due date of the milestone."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "closed_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "Timestamp when the milestone was closed."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": true,
                "description": "A Gitea milestone."
              },
              {
                "type": "null"
              }
            ]
          },
          "repository": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "description": "Numeric repository ID."
              },
              "name": {
                "type": "string",
                "description": "Repository name."
              },
              "owner": {
                "type": "string",
                "description": "Repository owner name."
              },
              "full_name": {
                "type": "string",
                "description": "Full repository name including owner."
              }
            },
            "additionalProperties": true,
            "description": "A compact Gitea repository record."
          },
          "pull_request": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Gitea API object."
          }
        },
        "additionalProperties": true,
        "description": "A Gitea issue record."
      },
      "followUpActions": [
        "gitea.list_issue_comments",
        "gitea.create_issue_comment"
      ]
    },
    {
      "id": "gitea.get_repository",
      "service": "gitea",
      "name": "get_repository",
      "description": "Get metadata for a Gitea repository by owner and name.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "Owner of the repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the repository."
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Numeric repository ID."
          },
          "name": {
            "type": "string",
            "description": "Repository name."
          },
          "full_name": {
            "type": "string",
            "description": "Full repository name including owner."
          },
          "private": {
            "type": "boolean",
            "description": "Whether the repository is private."
          },
          "html_url": {
            "type": "string",
            "description": "HTML URL of the repository."
          },
          "clone_url": {
            "type": "string",
            "description": "HTTPS clone URL of the repository."
          },
          "ssh_url": {
            "type": "string",
            "description": "SSH clone URL of the repository."
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "description": "Repository description."
              },
              {
                "type": "null"
              }
            ]
          },
          "default_branch": {
            "type": "string",
            "description": "Default branch of the repository."
          },
          "owner": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "description": "Numeric user ID."
              },
              "login": {
                "type": "string",
                "description": "Username of the Gitea account."
              },
              "full_name": {
                "type": "string",
                "description": "Full display name of the user."
              },
              "email": {
                "type": "string",
                "description": "Email address of the user when visible."
              },
              "avatar_url": {
                "type": "string",
                "description": "Avatar URL of the user."
              },
              "html_url": {
                "type": "string",
                "description": "HTML URL of the user profile."
              },
              "language": {
                "type": "string",
                "description": "Preferred language of the user."
              },
              "location": {
                "type": "string",
                "description": "Profile location of the user."
              },
              "website": {
                "type": "string",
                "description": "Website configured on the user profile."
              },
              "description": {
                "type": "string",
                "description": "Profile description or bio of the user."
              },
              "visibility": {
                "type": "string",
                "description": "Visibility setting of the user profile."
              },
              "is_admin": {
                "type": "boolean",
                "description": "Whether the user is a site administrator."
              },
              "restricted": {
                "type": "boolean",
                "description": "Whether the user account is restricted."
              },
              "active": {
                "type": "boolean",
                "description": "Whether the user account is active."
              },
              "created": {
                "type": "string",
                "description": "Timestamp in ISO 8601 / RFC 3339 format."
              },
              "last_login": {
                "type": "string",
                "description": "Timestamp in ISO 8601 / RFC 3339 format."
              }
            },
            "additionalProperties": true,
            "description": "A Gitea user record."
          },
          "fork": {
            "type": "boolean",
            "description": "Whether the repository is a fork."
          },
          "mirror": {
            "type": "boolean",
            "description": "Whether the repository is a mirror."
          },
          "archived": {
            "type": "boolean",
            "description": "Whether the repository is archived."
          },
          "empty": {
            "type": "boolean",
            "description": "Whether the repository is empty."
          },
          "has_issues": {
            "type": "boolean",
            "description": "Whether issues are enabled."
          },
          "has_pull_requests": {
            "type": "boolean",
            "description": "Whether pull requests are enabled."
          },
          "has_projects": {
            "type": "boolean",
            "description": "Whether projects are enabled."
          },
          "has_wiki": {
            "type": "boolean",
            "description": "Whether wiki is enabled."
          },
          "has_actions": {
            "type": "boolean",
            "description": "Whether actions are enabled."
          },
          "open_issues_count": {
            "type": "integer",
            "description": "Open issue count."
          },
          "stars_count": {
            "type": "integer",
            "description": "Star count."
          },
          "watchers_count": {
            "type": "integer",
            "description": "Watcher count."
          },
          "forks_count": {
            "type": "integer",
            "description": "Fork count."
          },
          "size": {
            "type": "integer",
            "description": "Repository size in kilobytes."
          },
          "language": {
            "type": "string",
            "description": "Primary language of the repository."
          },
          "topics": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A repository topic."
            },
            "description": "Topics configured on the repository."
          },
          "created_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "updated_at": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          }
        },
        "additionalProperties": true,
        "description": "A Gitea repository record."
      },
      "followUpActions": [
        "gitea.list_repository_issues"
      ]
    },
    {
      "id": "gitea.list_issue_comments",
      "service": "gitea",
      "name": "list_issue_comments",
      "description": "List comments under a Gitea issue.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "Owner of the repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the repository."
          },
          "issueNumber": {
            "type": "integer",
            "minimum": 1,
            "description": "Issue number within the repository."
          },
          "since": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "before": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo",
          "issueNumber"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "comments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Numeric comment ID."
                },
                "body": {
                  "type": "string",
                  "description": "Comment body."
                },
                "html_url": {
                  "type": "string",
                  "description": "HTML URL of the comment."
                },
                "issue_url": {
                  "type": "string",
                  "description": "API URL of the parent issue."
                },
                "pull_request_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "API URL of the related pull request."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                },
                "updated_at": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                },
                "user": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "Numeric user ID."
                    },
                    "login": {
                      "type": "string",
                      "description": "Username of the Gitea account."
                    },
                    "full_name": {
                      "type": "string",
                      "description": "Full display name of the user."
                    },
                    "email": {
                      "type": "string",
                      "description": "Email address of the user when visible."
                    },
                    "avatar_url": {
                      "type": "string",
                      "description": "Avatar URL of the user."
                    },
                    "html_url": {
                      "type": "string",
                      "description": "HTML URL of the user profile."
                    },
                    "language": {
                      "type": "string",
                      "description": "Preferred language of the user."
                    },
                    "location": {
                      "type": "string",
                      "description": "Profile location of the user."
                    },
                    "website": {
                      "type": "string",
                      "description": "Website configured on the user profile."
                    },
                    "description": {
                      "type": "string",
                      "description": "Profile description or bio of the user."
                    },
                    "visibility": {
                      "type": "string",
                      "description": "Visibility setting of the user profile."
                    },
                    "is_admin": {
                      "type": "boolean",
                      "description": "Whether the user is a site administrator."
                    },
                    "restricted": {
                      "type": "boolean",
                      "description": "Whether the user account is restricted."
                    },
                    "active": {
                      "type": "boolean",
                      "description": "Whether the user account is active."
                    },
                    "created": {
                      "type": "string",
                      "description": "Timestamp in ISO 8601 / RFC 3339 format."
                    },
                    "last_login": {
                      "type": "string",
                      "description": "Timestamp in ISO 8601 / RFC 3339 format."
                    }
                  },
                  "additionalProperties": true,
                  "description": "A Gitea user record."
                },
                "assets": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A Gitea API object."
                  },
                  "description": "Attachments included with the comment."
                }
              },
              "additionalProperties": true,
              "description": "A Gitea issue comment."
            },
            "description": "Comments returned by the request."
          },
          "total_count": {
            "type": "integer",
            "description": "Total number of matching comments from the x-total-count header when available."
          }
        },
        "additionalProperties": false,
        "required": [
          "comments"
        ],
        "description": "A list of Gitea issue comments."
      },
      "followUpActions": [
        "gitea.create_issue_comment"
      ]
    },
    {
      "id": "gitea.list_my_repositories",
      "service": "gitea",
      "name": "list_my_repositories",
      "description": "List repositories owned by the authenticated Gitea user.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "Page number of results to return."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of results to return."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "repositories": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Numeric repository ID."
                },
                "name": {
                  "type": "string",
                  "description": "Repository name."
                },
                "full_name": {
                  "type": "string",
                  "description": "Full repository name including owner."
                },
                "private": {
                  "type": "boolean",
                  "description": "Whether the repository is private."
                },
                "html_url": {
                  "type": "string",
                  "description": "HTML URL of the repository."
                },
                "clone_url": {
                  "type": "string",
                  "description": "HTTPS clone URL of the repository."
                },
                "ssh_url": {
                  "type": "string",
                  "description": "SSH clone URL of the repository."
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Repository description."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "default_branch": {
                  "type": "string",
                  "description": "Default branch of the repository."
                },
                "owner": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "Numeric user ID."
                    },
                    "login": {
                      "type": "string",
                      "description": "Username of the Gitea account."
                    },
                    "full_name": {
                      "type": "string",
                      "description": "Full display name of the user."
                    },
                    "email": {
                      "type": "string",
                      "description": "Email address of the user when visible."
                    },
                    "avatar_url": {
                      "type": "string",
                      "description": "Avatar URL of the user."
                    },
                    "html_url": {
                      "type": "string",
                      "description": "HTML URL of the user profile."
                    },
                    "language": {
                      "type": "string",
                      "description": "Preferred language of the user."
                    },
                    "location": {
                      "type": "string",
                      "description": "Profile location of the user."
                    },
                    "website": {
                      "type": "string",
                      "description": "Website configured on the user profile."
                    },
                    "description": {
                      "type": "string",
                      "description": "Profile description or bio of the user."
                    },
                    "visibility": {
                      "type": "string",
                      "description": "Visibility setting of the user profile."
                    },
                    "is_admin": {
                      "type": "boolean",
                      "description": "Whether the user is a site administrator."
                    },
                    "restricted": {
                      "type": "boolean",
                      "description": "Whether the user account is restricted."
                    },
                    "active": {
                      "type": "boolean",
                      "description": "Whether the user account is active."
                    },
                    "created": {
                      "type": "string",
                      "description": "Timestamp in ISO 8601 / RFC 3339 format."
                    },
                    "last_login": {
                      "type": "string",
                      "description": "Timestamp in ISO 8601 / RFC 3339 format."
                    }
                  },
                  "additionalProperties": true,
                  "description": "A Gitea user record."
                },
                "fork": {
                  "type": "boolean",
                  "description": "Whether the repository is a fork."
                },
                "mirror": {
                  "type": "boolean",
                  "description": "Whether the repository is a mirror."
                },
                "archived": {
                  "type": "boolean",
                  "description": "Whether the repository is archived."
                },
                "empty": {
                  "type": "boolean",
                  "description": "Whether the repository is empty."
                },
                "has_issues": {
                  "type": "boolean",
                  "description": "Whether issues are enabled."
                },
                "has_pull_requests": {
                  "type": "boolean",
                  "description": "Whether pull requests are enabled."
                },
                "has_projects": {
                  "type": "boolean",
                  "description": "Whether projects are enabled."
                },
                "has_wiki": {
                  "type": "boolean",
                  "description": "Whether wiki is enabled."
                },
                "has_actions": {
                  "type": "boolean",
                  "description": "Whether actions are enabled."
                },
                "open_issues_count": {
                  "type": "integer",
                  "description": "Open issue count."
                },
                "stars_count": {
                  "type": "integer",
                  "description": "Star count."
                },
                "watchers_count": {
                  "type": "integer",
                  "description": "Watcher count."
                },
                "forks_count": {
                  "type": "integer",
                  "description": "Fork count."
                },
                "size": {
                  "type": "integer",
                  "description": "Repository size in kilobytes."
                },
                "language": {
                  "type": "string",
                  "description": "Primary language of the repository."
                },
                "topics": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "A repository topic."
                  },
                  "description": "Topics configured on the repository."
                },
                "created_at": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                },
                "updated_at": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                }
              },
              "additionalProperties": true,
              "description": "A Gitea repository record."
            },
            "description": "Repositories returned by the request."
          },
          "total_count": {
            "type": "integer",
            "description": "Total number of matching repositories from the x-total-count header when available."
          }
        },
        "additionalProperties": false,
        "required": [
          "repositories"
        ],
        "description": "A paginated list of Gitea repositories."
      },
      "followUpActions": [
        "gitea.get_repository"
      ]
    },
    {
      "id": "gitea.list_repository_issues",
      "service": "gitea",
      "name": "list_repository_issues",
      "description": "List issues in a Gitea repository. Pull requests are filtered out.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "string",
            "minLength": 1,
            "description": "Owner of the repository."
          },
          "repo": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the repository."
          },
          "state": {
            "type": "string",
            "enum": [
              "open",
              "closed",
              "all"
            ],
            "description": "Issue state filter."
          },
          "labels": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "A label name or ID."
                },
                {
                  "type": "integer",
                  "description": "A label name or ID."
                }
              ]
            },
            "description": "Label names or IDs used to filter issues."
          },
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Search string used to filter issues."
          },
          "milestones": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "A milestone name or ID."
                },
                {
                  "type": "integer",
                  "description": "A milestone name or ID."
                }
              ]
            },
            "description": "Milestone names or IDs used to filter issues."
          },
          "since": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "before": {
            "type": "string",
            "description": "Timestamp in ISO 8601 / RFC 3339 format."
          },
          "createdBy": {
            "type": "string",
            "minLength": 1,
            "description": "Only return issues created by this username."
          },
          "assignedBy": {
            "type": "string",
            "minLength": 1,
            "description": "Only return issues assigned to this username."
          },
          "mentionedBy": {
            "type": "string",
            "minLength": 1,
            "description": "Only return issues mentioning this username."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "Page number of results to return."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of results to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "owner",
          "repo"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "issues": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Numeric issue ID."
                },
                "number": {
                  "type": "integer",
                  "description": "Issue number within the repository."
                },
                "title": {
                  "type": "string",
                  "description": "Issue title."
                },
                "body": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Issue body."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "state": {
                  "type": "string",
                  "description": "Issue state."
                },
                "html_url": {
                  "type": "string",
                  "description": "HTML URL of the issue."
                },
                "url": {
                  "type": "string",
                  "description": "API URL of the issue."
                },
                "comments": {
                  "type": "integer",
                  "description": "Number of comments on the issue."
                },
                "created_at": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                },
                "updated_at": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                },
                "closed_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Timestamp when the issue was closed."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "due_date": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Issue due date."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "ref": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Git reference associated with the issue."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_locked": {
                  "type": "boolean",
                  "description": "Whether the issue is locked."
                },
                "user": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "Numeric user ID."
                    },
                    "login": {
                      "type": "string",
                      "description": "Username of the Gitea account."
                    },
                    "full_name": {
                      "type": "string",
                      "description": "Full display name of the user."
                    },
                    "email": {
                      "type": "string",
                      "description": "Email address of the user when visible."
                    },
                    "avatar_url": {
                      "type": "string",
                      "description": "Avatar URL of the user."
                    },
                    "html_url": {
                      "type": "string",
                      "description": "HTML URL of the user profile."
                    },
                    "language": {
                      "type": "string",
                      "description": "Preferred language of the user."
                    },
                    "location": {
                      "type": "string",
                      "description": "Profile location of the user."
                    },
                    "website": {
                      "type": "string",
                      "description": "Website configured on the user profile."
                    },
                    "description": {
                      "type": "string",
                      "description": "Profile description or bio of the user."
                    },
                    "visibility": {
                      "type": "string",
                      "description": "Visibility setting of the user profile."
                    },
                    "is_admin": {
                      "type": "boolean",
                      "description": "Whether the user is a site administrator."
                    },
                    "restricted": {
                      "type": "boolean",
                      "description": "Whether the user account is restricted."
                    },
                    "active": {
                      "type": "boolean",
                      "description": "Whether the user account is active."
                    },
                    "created": {
                      "type": "string",
                      "description": "Timestamp in ISO 8601 / RFC 3339 format."
                    },
                    "last_login": {
                      "type": "string",
                      "description": "Timestamp in ISO 8601 / RFC 3339 format."
                    }
                  },
                  "additionalProperties": true,
                  "description": "A Gitea user record."
                },
                "assignee": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "Numeric user ID."
                        },
                        "login": {
                          "type": "string",
                          "description": "Username of the Gitea account."
                        },
                        "full_name": {
                          "type": "string",
                          "description": "Full display name of the user."
                        },
                        "email": {
                          "type": "string",
                          "description": "Email address of the user when visible."
                        },
                        "avatar_url": {
                          "type": "string",
                          "description": "Avatar URL of the user."
                        },
                        "html_url": {
                          "type": "string",
                          "description": "HTML URL of the user profile."
                        },
                        "language": {
                          "type": "string",
                          "description": "Preferred language of the user."
                        },
                        "location": {
                          "type": "string",
                          "description": "Profile location of the user."
                        },
                        "website": {
                          "type": "string",
                          "description": "Website configured on the user profile."
                        },
                        "description": {
                          "type": "string",
                          "description": "Profile description or bio of the user."
                        },
                        "visibility": {
                          "type": "string",
                          "description": "Visibility setting of the user profile."
                        },
                        "is_admin": {
                          "type": "boolean",
                          "description": "Whether the user is a site administrator."
                        },
                        "restricted": {
                          "type": "boolean",
                          "description": "Whether the user account is restricted."
                        },
                        "active": {
                          "type": "boolean",
                          "description": "Whether the user account is active."
                        },
                        "created": {
                          "type": "string",
                          "description": "Timestamp in ISO 8601 / RFC 3339 format."
                        },
                        "last_login": {
                          "type": "string",
                          "description": "Timestamp in ISO 8601 / RFC 3339 format."
                        }
                      },
                      "additionalProperties": true,
                      "description": "A Gitea user record."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "assignees": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "Numeric user ID."
                      },
                      "login": {
                        "type": "string",
                        "description": "Username of the Gitea account."
                      },
                      "full_name": {
                        "type": "string",
                        "description": "Full display name of the user."
                      },
                      "email": {
                        "type": "string",
                        "description": "Email address of the user when visible."
                      },
                      "avatar_url": {
                        "type": "string",
                        "description": "Avatar URL of the user."
                      },
                      "html_url": {
                        "type": "string",
                        "description": "HTML URL of the user profile."
                      },
                      "language": {
                        "type": "string",
                        "description": "Preferred language of the user."
                      },
                      "location": {
                        "type": "string",
                        "description": "Profile location of the user."
                      },
                      "website": {
                        "type": "string",
                        "description": "Website configured on the user profile."
                      },
                      "description": {
                        "type": "string",
                        "description": "Profile description or bio of the user."
                      },
                      "visibility": {
                        "type": "string",
                        "description": "Visibility setting of the user profile."
                      },
                      "is_admin": {
                        "type": "boolean",
                        "description": "Whether the user is a site administrator."
                      },
                      "restricted": {
                        "type": "boolean",
                        "description": "Whether the user account is restricted."
                      },
                      "active": {
                        "type": "boolean",
                        "description": "Whether the user account is active."
                      },
                      "created": {
                        "type": "string",
                        "description": "Timestamp in ISO 8601 / RFC 3339 format."
                      },
                      "last_login": {
                        "type": "string",
                        "description": "Timestamp in ISO 8601 / RFC 3339 format."
                      }
                    },
                    "additionalProperties": true,
                    "description": "A Gitea user record."
                  },
                  "description": "Assignees of the issue."
                },
                "labels": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "Numeric label ID."
                      },
                      "name": {
                        "type": "string",
                        "description": "Label name."
                      },
                      "color": {
                        "type": "string",
                        "description": "Hex color value configured for the label."
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "Description configured for the label."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "exclusive": {
                        "type": "boolean",
                        "description": "Whether the label is exclusive."
                      },
                      "is_archived": {
                        "type": "boolean",
                        "description": "Whether the label is archived."
                      }
                    },
                    "additionalProperties": true,
                    "description": "A Gitea issue label."
                  },
                  "description": "Labels attached to the issue."
                },
                "milestone": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "Numeric milestone ID."
                        },
                        "title": {
                          "type": "string",
                          "description": "Milestone title."
                        },
                        "state": {
                          "type": "string",
                          "description": "Current milestone state."
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "Milestone description."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "due_on": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "Due date of the milestone."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "closed_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "Timestamp when the milestone was closed."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": true,
                      "description": "A Gitea milestone."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "repository": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "Numeric repository ID."
                    },
                    "name": {
                      "type": "string",
                      "description": "Repository name."
                    },
                    "owner": {
                      "type": "string",
                      "description": "Repository owner name."
                    },
                    "full_name": {
                      "type": "string",
                      "description": "Full repository name including owner."
                    }
                  },
                  "additionalProperties": true,
                  "description": "A compact Gitea repository record."
                },
                "pull_request": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A Gitea API object."
                }
              },
              "additionalProperties": true,
              "description": "A Gitea issue record."
            },
            "description": "Issues returned by the request."
          },
          "total_count": {
            "type": "integer",
            "description": "Total number of matching issues from the x-total-count header when available."
          }
        },
        "additionalProperties": false,
        "required": [
          "issues"
        ],
        "description": "A paginated list of Gitea issues."
      },
      "followUpActions": [
        "gitea.get_issue",
        "gitea.create_issue"
      ]
    },
    {
      "id": "gitea.search_repositories",
      "service": "gitea",
      "name": "search_repositories",
      "description": "Search Gitea repositories by keyword with optional repository filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Keyword used to search repositories."
          },
          "topic": {
            "type": "boolean",
            "description": "Whether to limit the keyword search to repository topics."
          },
          "includeDescription": {
            "type": "boolean",
            "description": "Whether the keyword should also search repository descriptions."
          },
          "ownerId": {
            "type": "integer",
            "minimum": 1,
            "description": "Only search repositories owned by or contributed to by this user ID."
          },
          "priorityOwnerId": {
            "type": "integer",
            "minimum": 1,
            "description": "Repository owner ID to prioritize in the results."
          },
          "teamId": {
            "type": "integer",
            "minimum": 1,
            "description": "Only search repositories that belong to this team ID."
          },
          "starredByUserId": {
            "type": "integer",
            "minimum": 1,
            "description": "Only search repositories starred by this user ID."
          },
          "private": {
            "type": "boolean",
            "description": "Whether private repositories accessible to the token should be included."
          },
          "template": {
            "type": "boolean",
            "description": "Whether template repositories accessible to the token should be included."
          },
          "archived": {
            "type": "boolean",
            "description": "Whether archived repositories should be included."
          },
          "mode": {
            "type": "string",
            "enum": [
              "fork",
              "source",
              "mirror",
              "collaborative"
            ],
            "description": "Repository mode filter."
          },
          "exclusive": {
            "type": "boolean",
            "description": "When ownerId is set, whether to restrict results to repositories the user owns."
          },
          "sort": {
            "type": "string",
            "enum": [
              "alpha",
              "created",
              "updated",
              "size",
              "git_size",
              "lfs_size",
              "stars",
              "forks",
              "id"
            ],
            "description": "Sort field used by the repository search endpoint."
          },
          "order": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "Sort order."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "Page number of results to return."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of results to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "query"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean",
            "description": "Whether the search request succeeded."
          },
          "repositories": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Numeric repository ID."
                },
                "name": {
                  "type": "string",
                  "description": "Repository name."
                },
                "full_name": {
                  "type": "string",
                  "description": "Full repository name including owner."
                },
                "private": {
                  "type": "boolean",
                  "description": "Whether the repository is private."
                },
                "html_url": {
                  "type": "string",
                  "description": "HTML URL of the repository."
                },
                "clone_url": {
                  "type": "string",
                  "description": "HTTPS clone URL of the repository."
                },
                "ssh_url": {
                  "type": "string",
                  "description": "SSH clone URL of the repository."
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Repository description."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "default_branch": {
                  "type": "string",
                  "description": "Default branch of the repository."
                },
                "owner": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "Numeric user ID."
                    },
                    "login": {
                      "type": "string",
                      "description": "Username of the Gitea account."
                    },
                    "full_name": {
                      "type": "string",
                      "description": "Full display name of the user."
                    },
                    "email": {
                      "type": "string",
                      "description": "Email address of the user when visible."
                    },
                    "avatar_url": {
                      "type": "string",
                      "description": "Avatar URL of the user."
                    },
                    "html_url": {
                      "type": "string",
                      "description": "HTML URL of the user profile."
                    },
                    "language": {
                      "type": "string",
                      "description": "Preferred language of the user."
                    },
                    "location": {
                      "type": "string",
                      "description": "Profile location of the user."
                    },
                    "website": {
                      "type": "string",
                      "description": "Website configured on the user profile."
                    },
                    "description": {
                      "type": "string",
                      "description": "Profile description or bio of the user."
                    },
                    "visibility": {
                      "type": "string",
                      "description": "Visibility setting of the user profile."
                    },
                    "is_admin": {
                      "type": "boolean",
                      "description": "Whether the user is a site administrator."
                    },
                    "restricted": {
                      "type": "boolean",
                      "description": "Whether the user account is restricted."
                    },
                    "active": {
                      "type": "boolean",
                      "description": "Whether the user account is active."
                    },
                    "created": {
                      "type": "string",
                      "description": "Timestamp in ISO 8601 / RFC 3339 format."
                    },
                    "last_login": {
                      "type": "string",
                      "description": "Timestamp in ISO 8601 / RFC 3339 format."
                    }
                  },
                  "additionalProperties": true,
                  "description": "A Gitea user record."
                },
                "fork": {
                  "type": "boolean",
                  "description": "Whether the repository is a fork."
                },
                "mirror": {
                  "type": "boolean",
                  "description": "Whether the repository is a mirror."
                },
                "archived": {
                  "type": "boolean",
                  "description": "Whether the repository is archived."
                },
                "empty": {
                  "type": "boolean",
                  "description": "Whether the repository is empty."
                },
                "has_issues": {
                  "type": "boolean",
                  "description": "Whether issues are enabled."
                },
                "has_pull_requests": {
                  "type": "boolean",
                  "description": "Whether pull requests are enabled."
                },
                "has_projects": {
                  "type": "boolean",
                  "description": "Whether projects are enabled."
                },
                "has_wiki": {
                  "type": "boolean",
                  "description": "Whether wiki is enabled."
                },
                "has_actions": {
                  "type": "boolean",
                  "description": "Whether actions are enabled."
                },
                "open_issues_count": {
                  "type": "integer",
                  "description": "Open issue count."
                },
                "stars_count": {
                  "type": "integer",
                  "description": "Star count."
                },
                "watchers_count": {
                  "type": "integer",
                  "description": "Watcher count."
                },
                "forks_count": {
                  "type": "integer",
                  "description": "Fork count."
                },
                "size": {
                  "type": "integer",
                  "description": "Repository size in kilobytes."
                },
                "language": {
                  "type": "string",
                  "description": "Primary language of the repository."
                },
                "topics": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "A repository topic."
                  },
                  "description": "Topics configured on the repository."
                },
                "created_at": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                },
                "updated_at": {
                  "type": "string",
                  "description": "Timestamp in ISO 8601 / RFC 3339 format."
                }
              },
              "additionalProperties": true,
              "description": "A Gitea repository record."
            },
            "description": "Repositories returned by the search."
          },
          "total_count": {
            "type": "integer",
            "description": "Total number of matching repositories from the x-total-count header when available."
          }
        },
        "additionalProperties": false,
        "required": [
          "ok",
          "repositories"
        ],
        "description": "A Gitea repository search response."
      },
      "followUpActions": [
        "gitea.get_repository"
      ]
    }
  ]
}
