server_name
stringclasses 156
values | category
stringclasses 1
value | tool
stringlengths 176
38.2k
|
---|---|---|
github-official
|
other
|
{'type': 'function', 'name': 'list_secret_scanning_alerts', 'description': 'List secret scanning alerts in a GitHub repository.', 'parameters': {'type': 'object', 'properties': {'owner': {'type': 'string', 'description': 'The owner of the repository.'}, 'repo': {'type': 'string', 'description': 'The name of the repository.'}, 'resolution': {'type': 'string', 'description': 'Filter by resolution', 'enum': ['false_positive', 'wont_fix', 'revoked', 'pattern_edited', 'pattern_deleted', 'used_in_tests']}, 'secret_type': {'type': 'string', 'description': 'A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter.'}, 'state': {'type': 'string', 'description': 'Filter by state', 'enum': ['open', 'resolved']}}, 'required': ['owner', 'repo'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'list_starred_repositories', 'description': 'List starred repositories', 'parameters': {'type': 'object', 'properties': {'direction': {'type': 'string', 'description': 'The direction to sort the results by.', 'enum': ['asc', 'desc']}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'sort': {'type': 'string', 'description': "How to sort the results. Can be either 'created' (when the repository was starred) or 'updated' (when the repository was last pushed to).", 'enum': ['created', 'updated']}, 'username': {'type': 'string', 'description': 'Username to list starred repositories for. Defaults to the authenticated user.'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'list_sub_issues', 'description': 'List sub-issues for a specific issue in a GitHub repository.', 'parameters': {'type': 'object', 'properties': {'issue_number': {'type': 'number', 'description': 'Issue number'}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'page': {'type': 'number', 'description': 'Page number for pagination (default: 1)'}, 'per_page': {'type': 'number', 'description': 'Number of results per page (max 100, default: 30)'}, 'repo': {'type': 'string', 'description': 'Repository name'}}, 'required': ['owner', 'repo', 'issue_number'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'list_tags', 'description': 'List git tags in a GitHub repository', 'parameters': {'type': 'object', 'properties': {'owner': {'type': 'string', 'description': 'Repository owner'}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'repo': {'type': 'string', 'description': 'Repository name'}}, 'required': ['owner', 'repo'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'list_workflow_jobs', 'description': 'List jobs for a specific workflow run', 'parameters': {'type': 'object', 'properties': {'filter': {'type': 'string', 'description': 'Filters jobs by their completed_at timestamp', 'enum': ['latest', 'all']}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'repo': {'type': 'string', 'description': 'Repository name'}, 'run_id': {'type': 'number', 'description': 'The unique identifier of the workflow run'}}, 'required': ['owner', 'repo', 'run_id'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'list_workflow_run_artifacts', 'description': 'List artifacts for a workflow run', 'parameters': {'type': 'object', 'properties': {'owner': {'type': 'string', 'description': 'Repository owner'}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'repo': {'type': 'string', 'description': 'Repository name'}, 'run_id': {'type': 'number', 'description': 'The unique identifier of the workflow run'}}, 'required': ['owner', 'repo', 'run_id'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'list_workflow_runs', 'description': 'List workflow runs for a specific workflow', 'parameters': {'type': 'object', 'properties': {'actor': {'type': 'string', 'description': "Returns someone's workflow runs. Use the login for the user who created the workflow run."}, 'branch': {'type': 'string', 'description': 'Returns workflow runs associated with a branch. Use the name of the branch.'}, 'event': {'type': 'string', 'description': 'Returns workflow runs for a specific event type', 'enum': ['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'issue_comment', 'issues', 'label', 'merge_group', 'milestone', 'page_build', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'pull_request_target', 'push', 'registry_package', 'release', 'repository_dispatch', 'schedule', 'status', 'watch', 'workflow_call', 'workflow_dispatch', 'workflow_run']}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'repo': {'type': 'string', 'description': 'Repository name'}, 'status': {'type': 'string', 'description': 'Returns workflow runs with the check run status', 'enum': ['queued', 'in_progress', 'completed', 'requested', 'waiting']}, 'workflow_id': {'type': 'string', 'description': 'The workflow ID or workflow file name'}}, 'required': ['owner', 'repo', 'workflow_id'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'list_workflows', 'description': 'List workflows in a repository', 'parameters': {'type': 'object', 'properties': {'owner': {'type': 'string', 'description': 'Repository owner'}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'repo': {'type': 'string', 'description': 'Repository name'}}, 'required': ['owner', 'repo'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'manage_notification_subscription', 'description': 'Manage a notification subscription: ignore, watch, or delete a notification thread subscription.', 'parameters': {'type': 'object', 'properties': {'action': {'type': 'string', 'description': 'Action to perform: ignore, watch, or delete the notification subscription.', 'enum': ['ignore', 'watch', 'delete']}, 'notificationID': {'type': 'string', 'description': 'The ID of the notification thread.'}}, 'required': ['notificationID', 'action'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'manage_repository_notification_subscription', 'description': 'Manage a repository notification subscription: ignore, watch, or delete repository notifications subscription for the provided repository.', 'parameters': {'type': 'object', 'properties': {'action': {'type': 'string', 'description': 'Action to perform: ignore, watch, or delete the repository notification subscription.', 'enum': ['ignore', 'watch', 'delete']}, 'owner': {'type': 'string', 'description': 'The account owner of the repository.'}, 'repo': {'type': 'string', 'description': 'The name of the repository.'}}, 'required': ['owner', 'repo', 'action'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'mark_all_notifications_read', 'description': 'Mark all notifications as read', 'parameters': {'type': 'object', 'properties': {'lastReadAt': {'type': 'string', 'description': 'Describes the last point that notifications were checked (optional). Default: Now'}, 'owner': {'type': 'string', 'description': 'Optional repository owner. If provided with repo, only notifications for this repository are marked as read.'}, 'repo': {'type': 'string', 'description': 'Optional repository name. If provided with owner, only notifications for this repository are marked as read.'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'merge_pull_request', 'description': 'Merge a pull request in a GitHub repository.', 'parameters': {'type': 'object', 'properties': {'commit_message': {'type': 'string', 'description': 'Extra detail for merge commit'}, 'commit_title': {'type': 'string', 'description': 'Title for merge commit'}, 'merge_method': {'type': 'string', 'description': 'Merge method', 'enum': ['merge', 'squash', 'rebase']}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'pullNumber': {'type': 'number', 'description': 'Pull request number'}, 'repo': {'type': 'string', 'description': 'Repository name'}}, 'required': ['owner', 'repo', 'pullNumber'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'push_files', 'description': 'Push multiple files to a GitHub repository in a single commit', 'parameters': {'type': 'object', 'properties': {'branch': {'type': 'string', 'description': 'Branch to push to'}, 'files': {'type': 'array', 'description': 'Array of file objects to push, each object with path (string) and content (string)', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'content': {'type': 'string', 'description': 'file content'}, 'path': {'type': 'string', 'description': 'path to the file'}}, 'additionalProperties': False}}, 'message': {'type': 'string', 'description': 'Commit message'}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'repo': {'type': 'string', 'description': 'Repository name'}}, 'required': ['owner', 'repo', 'branch', 'files', 'message'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'remove_sub_issue', 'description': 'Remove a sub-issue from a parent issue in a GitHub repository.', 'parameters': {'type': 'object', 'properties': {'issue_number': {'type': 'number', 'description': 'The number of the parent issue'}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'repo': {'type': 'string', 'description': 'Repository name'}, 'sub_issue_id': {'type': 'number', 'description': 'The ID of the sub-issue to remove. ID is not the same as issue number'}}, 'required': ['owner', 'repo', 'issue_number', 'sub_issue_id'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'reprioritize_sub_issue', 'description': "Reprioritize a sub-issue to a different position in the parent issue's sub-issue list.", 'parameters': {'type': 'object', 'properties': {'after_id': {'type': 'number', 'description': 'The ID of the sub-issue to be prioritized after (either after_id OR before_id should be specified)'}, 'before_id': {'type': 'number', 'description': 'The ID of the sub-issue to be prioritized before (either after_id OR before_id should be specified)'}, 'issue_number': {'type': 'number', 'description': 'The number of the parent issue'}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'repo': {'type': 'string', 'description': 'Repository name'}, 'sub_issue_id': {'type': 'number', 'description': 'The ID of the sub-issue to reprioritize. ID is not the same as issue number'}}, 'required': ['owner', 'repo', 'issue_number', 'sub_issue_id'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'request_copilot_review', 'description': 'Request a GitHub Copilot code review for a pull request. Use this for automated feedback on pull requests, usually before requesting a human reviewer.', 'parameters': {'type': 'object', 'properties': {'owner': {'type': 'string', 'description': 'Repository owner'}, 'pullNumber': {'type': 'number', 'description': 'Pull request number'}, 'repo': {'type': 'string', 'description': 'Repository name'}}, 'required': ['owner', 'repo', 'pullNumber'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'rerun_failed_jobs', 'description': 'Re-run only the failed jobs in a workflow run', 'parameters': {'type': 'object', 'properties': {'owner': {'type': 'string', 'description': 'Repository owner'}, 'repo': {'type': 'string', 'description': 'Repository name'}, 'run_id': {'type': 'number', 'description': 'The unique identifier of the workflow run'}}, 'required': ['owner', 'repo', 'run_id'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'rerun_workflow_run', 'description': 'Re-run an entire workflow run', 'parameters': {'type': 'object', 'properties': {'owner': {'type': 'string', 'description': 'Repository owner'}, 'repo': {'type': 'string', 'description': 'Repository name'}, 'run_id': {'type': 'number', 'description': 'The unique identifier of the workflow run'}}, 'required': ['owner', 'repo', 'run_id'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'run_workflow', 'description': 'Run an Actions workflow by workflow ID or filename', 'parameters': {'type': 'object', 'properties': {'inputs': {'type': 'object', 'description': 'Inputs the workflow accepts'}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'ref': {'type': 'string', 'description': 'The git reference for the workflow. The reference can be a branch or tag name.'}, 'repo': {'type': 'string', 'description': 'Repository name'}, 'workflow_id': {'type': 'string', 'description': 'The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml)'}}, 'required': ['owner', 'repo', 'workflow_id', 'ref'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'search_code', 'description': "Fast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.", 'parameters': {'type': 'object', 'properties': {'order': {'type': 'string', 'description': 'Sort order for results', 'enum': ['asc', 'desc']}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'query': {'type': 'string', 'description': "Search query using GitHub's powerful code search syntax. Examples: 'content:Skill language:Java org:github', 'NOT is:archived language:Python OR language:go', 'repo:github/github-mcp-server'. Supports exact matching, language filters, path filters, and more."}, 'sort': {'type': 'string', 'description': "Sort field ('indexed' only)"}}, 'required': ['query'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'search_issues', 'description': 'Search for issues in GitHub repositories using issues search syntax already scoped to is:issue', 'parameters': {'type': 'object', 'properties': {'order': {'type': 'string', 'description': 'Sort order', 'enum': ['asc', 'desc']}, 'owner': {'type': 'string', 'description': 'Optional repository owner. If provided with repo, only issues for this repository are listed.'}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'query': {'type': 'string', 'description': 'Search query using GitHub issues search syntax'}, 'repo': {'type': 'string', 'description': 'Optional repository name. If provided with owner, only issues for this repository are listed.'}, 'sort': {'type': 'string', 'description': 'Sort field by number of matches of categories, defaults to best match', 'enum': ['comments', 'reactions', 'reactions-+1', 'reactions--1', 'reactions-smile', 'reactions-thinking_face', 'reactions-heart', 'reactions-tada', 'interactions', 'created', 'updated']}}, 'required': ['query'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'search_orgs', 'description': 'Find GitHub organizations by name, location, or other organization metadata. Ideal for discovering companies, open source foundations, or teams.', 'parameters': {'type': 'object', 'properties': {'order': {'type': 'string', 'description': 'Sort order', 'enum': ['asc', 'desc']}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'query': {'type': 'string', 'description': "Organization search query. Examples: 'microsoft', 'location:california', 'created:>=2025-01-01'. Search is automatically scoped to type:org."}, 'sort': {'type': 'string', 'description': 'Sort field by category', 'enum': ['followers', 'repositories', 'joined']}}, 'required': ['query'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'search_pull_requests', 'description': 'Search for pull requests in GitHub repositories using issues search syntax already scoped to is:pr', 'parameters': {'type': 'object', 'properties': {'order': {'type': 'string', 'description': 'Sort order', 'enum': ['asc', 'desc']}, 'owner': {'type': 'string', 'description': 'Optional repository owner. If provided with repo, only pull requests for this repository are listed.'}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'query': {'type': 'string', 'description': 'Search query using GitHub pull request search syntax'}, 'repo': {'type': 'string', 'description': 'Optional repository name. If provided with owner, only pull requests for this repository are listed.'}, 'sort': {'type': 'string', 'description': 'Sort field by number of matches of categories, defaults to best match', 'enum': ['comments', 'reactions', 'reactions-+1', 'reactions--1', 'reactions-smile', 'reactions-thinking_face', 'reactions-heart', 'reactions-tada', 'interactions', 'created', 'updated']}}, 'required': ['query'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'search_repositories', 'description': 'Find GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.', 'parameters': {'type': 'object', 'properties': {'minimal_output': {'type': 'boolean', 'description': 'Return minimal repository information (default: true). When false, returns full GitHub API repository objects.', 'default': True}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'query': {'type': 'string', 'description': "Repository search query. Examples: 'machine learning in:name stars:>1000 language:python', 'topic:react', 'user:facebook'. Supports advanced search syntax for precise filtering."}}, 'required': ['query'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'search_users', 'description': 'Find GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.', 'parameters': {'type': 'object', 'properties': {'order': {'type': 'string', 'description': 'Sort order', 'enum': ['asc', 'desc']}, 'page': {'type': 'number', 'description': 'Page number for pagination (min 1)', 'minimum': 1}, 'perPage': {'type': 'number', 'description': 'Results per page for pagination (min 1, max 100)', 'minimum': 1, 'maximum': 100}, 'query': {'type': 'string', 'description': "User search query. Examples: 'john smith', 'location:seattle', 'followers:>100'. Search is automatically scoped to type:user."}, 'sort': {'type': 'string', 'description': 'Sort users by number of followers or repositories, or when the person joined GitHub.', 'enum': ['followers', 'repositories', 'joined']}}, 'required': ['query'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'star_repository', 'description': 'Star a GitHub repository', 'parameters': {'type': 'object', 'properties': {'owner': {'type': 'string', 'description': 'Repository owner'}, 'repo': {'type': 'string', 'description': 'Repository name'}}, 'required': ['owner', 'repo'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'submit_pending_pull_request_review', 'description': "Submit the requester's latest pending pull request review, normally this is a final step after creating a pending review, adding comments first, unless you know that the user already did the first two steps, you should check before calling this.", 'parameters': {'type': 'object', 'properties': {'body': {'type': 'string', 'description': 'The text of the review comment'}, 'event': {'type': 'string', 'description': 'The event to perform', 'enum': ['APPROVE', 'REQUEST_CHANGES', 'COMMENT']}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'pullNumber': {'type': 'number', 'description': 'Pull request number'}, 'repo': {'type': 'string', 'description': 'Repository name'}}, 'required': ['owner', 'repo', 'pullNumber', 'event'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'unstar_repository', 'description': 'Unstar a GitHub repository', 'parameters': {'type': 'object', 'properties': {'owner': {'type': 'string', 'description': 'Repository owner'}, 'repo': {'type': 'string', 'description': 'Repository name'}}, 'required': ['owner', 'repo'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'update_gist', 'description': 'Update an existing gist', 'parameters': {'type': 'object', 'properties': {'content': {'type': 'string', 'description': 'Content for the file'}, 'description': {'type': 'string', 'description': 'Updated description of the gist'}, 'filename': {'type': 'string', 'description': 'Filename to update or create'}, 'gist_id': {'type': 'string', 'description': 'ID of the gist to update'}}, 'required': ['gist_id', 'filename', 'content'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'update_issue', 'description': 'Update an existing issue in a GitHub repository.', 'parameters': {'type': 'object', 'properties': {'assignees': {'type': 'array', 'description': 'New assignees', 'items': {'type': 'string'}}, 'body': {'type': 'string', 'description': 'New description'}, 'duplicate_of': {'type': 'number', 'description': "Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'."}, 'issue_number': {'type': 'number', 'description': 'Issue number to update'}, 'labels': {'type': 'array', 'description': 'New labels', 'items': {'type': 'string'}}, 'milestone': {'type': 'number', 'description': 'New milestone number'}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'repo': {'type': 'string', 'description': 'Repository name'}, 'state': {'type': 'string', 'description': 'New state', 'enum': ['open', 'closed']}, 'state_reason': {'type': 'string', 'description': 'Reason for the state change. Ignored unless state is changed.', 'enum': ['completed', 'not_planned', 'duplicate']}, 'title': {'type': 'string', 'description': 'New title'}, 'type': {'type': 'string', 'description': 'New issue type'}}, 'required': ['owner', 'repo', 'issue_number'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'update_pull_request', 'description': 'Update an existing pull request in a GitHub repository.', 'parameters': {'type': 'object', 'properties': {'base': {'type': 'string', 'description': 'New base branch name'}, 'body': {'type': 'string', 'description': 'New description'}, 'draft': {'type': 'boolean', 'description': 'Mark pull request as draft (true) or ready for review (false)'}, 'maintainer_can_modify': {'type': 'boolean', 'description': 'Allow maintainer edits'}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'pullNumber': {'type': 'number', 'description': 'Pull request number to update'}, 'repo': {'type': 'string', 'description': 'Repository name'}, 'reviewers': {'type': 'array', 'description': 'GitHub usernames to request reviews from', 'items': {'type': 'string'}}, 'state': {'type': 'string', 'description': 'New state', 'enum': ['open', 'closed']}, 'title': {'type': 'string', 'description': 'New title'}}, 'required': ['owner', 'repo', 'pullNumber'], 'additionalProperties': False}, 'strict': True}
|
github-official
|
other
|
{'type': 'function', 'name': 'update_pull_request_branch', 'description': 'Update the branch of a pull request with the latest changes from the base branch.', 'parameters': {'type': 'object', 'properties': {'expectedHeadSha': {'type': 'string', 'description': "The expected SHA of the pull request's HEAD ref"}, 'owner': {'type': 'string', 'description': 'Repository owner'}, 'pullNumber': {'type': 'number', 'description': 'Pull request number'}, 'repo': {'type': 'string', 'description': 'Repository name'}}, 'required': ['owner', 'repo', 'pullNumber'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'add_activity_to_incident', 'description': "Add a note (userNote activity) to an existing incident's timeline using its ID. The note body can include URLs which will be attached as context. Use this to add context to an incident.", 'parameters': {'type': 'object', 'properties': {'body': {'type': 'string', 'description': 'The body of the activity. URLs will be parsed and attached as context'}, 'eventTime': {'type': 'string', 'description': 'The time that the activity occurred. If not provided, the current time will be used'}, 'incidentId': {'type': 'string', 'description': 'The ID of the incident to add the activity to'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'create_incident', 'description': 'Create a new Grafana incident. Requires title, severity, and room prefix. Allows setting status and labels. This tool should be used judiciously and sparingly, and only after confirmation from the user, as it may notify or alarm lots of people.', 'parameters': {'type': 'object', 'properties': {'attachCaption': {'type': 'string', 'description': 'The caption of the attachment'}, 'attachUrl': {'type': 'string', 'description': 'The URL of the attachment'}, 'isDrill': {'type': 'boolean', 'description': 'Whether the incident is a drill incident'}, 'labels': {'type': 'array', 'description': 'The labels to add to the incident', 'items': {'type': 'object', 'properties': {'colorHex': {'type': 'string'}, 'description': {'type': 'string'}, 'key': {'type': 'string'}, 'label': {'type': 'string'}}}}, 'roomPrefix': {'type': 'string', 'description': 'The prefix of the room to create the incident in'}, 'severity': {'type': 'string', 'description': 'The severity of the incident'}, 'status': {'type': 'string', 'description': 'The status of the incident'}, 'title': {'type': 'string', 'description': 'The title of the incident'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'fetch_pyroscope_profile', 'description': 'Fetches a profile from a Pyroscope data source for a given time range. By default, the time range is tha past 1 hour.\nThe profile type is required, available profile types can be fetched via the list_pyroscope_profile_types tool. Not all\nprofile types are available for every service. Expect some queries to return empty result sets, this indicates the\nprofile type does not exist for that query. In such a case, consider trying a related profile type or giving up.\nMatchers are not required, but highly recommended, they are generally used to select an application by the service_name\nlabel (e.g. {service_name="foo"}). Use the list_pyroscope_label_names tool to fetch available label names, and the\nlist_pyroscope_label_values tool to fetch available label values. The returned profile is in DOT format.', 'parameters': {'type': 'object', 'properties': {'data_source_uid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'end_rfc_3339': {'type': 'string', 'description': 'Optionally, the end time of the query in RFC3339 format (defaults to now)'}, 'matchers': {'type': 'string', 'description': 'Optionally, Prometheus style matchers used to filter the result set (defaults to: {})'}, 'max_node_depth': {'type': 'integer', 'description': 'Optionally, the maximum depth of nodes in the resulting profile. Less depth results in smaller profiles that execute faster, more depth result in larger profiles that have more detail. A value of -1 indicates to use an unbounded node depth (default: 100). Reducing max node depth from the default will negatively impact the accuracy of the profile'}, 'profile_type': {'type': 'string', 'description': 'Type profile type, use the list_pyroscope_profile_types tool to fetch available profile types'}, 'start_rfc_3339': {'type': 'string', 'description': 'Optionally, the start time of the query in RFC3339 format (defaults to 1 hour ago)'}}, 'required': ['data_source_uid', 'profile_type'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'find_error_pattern_logs', 'description': "Searches Loki logs for elevated error patterns compared to the last day's average, waits for the analysis to complete, and returns the results including any patterns found.", 'parameters': {'type': 'object', 'properties': {'end': {'type': 'string', 'description': 'End time for the investigation. Defaults to now if not specified.', 'format': 'date-time'}, 'labels': {'type': 'object', 'description': 'Labels to scope the analysis', 'additionalProperties': {'type': 'string'}}, 'name': {'type': 'string', 'description': 'The name of the investigation'}, 'start': {'type': 'string', 'description': 'Start time for the investigation. Defaults to 30 minutes ago if not specified.', 'format': 'date-time'}}, 'required': ['name', 'labels'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'find_slow_requests', 'description': 'Searches relevant Tempo datasources for slow requests, waits for the analysis to complete, and returns the results.', 'parameters': {'type': 'object', 'properties': {'end': {'type': 'string', 'description': 'End time for the investigation. Defaults to now if not specified.', 'format': 'date-time'}, 'labels': {'type': 'object', 'description': 'Labels to scope the analysis', 'additionalProperties': {'type': 'string'}}, 'name': {'type': 'string', 'description': 'The name of the investigation'}, 'start': {'type': 'string', 'description': 'Start time for the investigation. Defaults to 30 minutes ago if not specified.', 'format': 'date-time'}}, 'required': ['name', 'labels'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'generate_deeplink', 'description': 'Generate deeplink URLs for Grafana resources. Supports dashboards (requires dashboardUid), panels (requires dashboardUid and panelId), and Explore queries (requires datasourceUid). Optionally accepts time range and additional query parameters.', 'parameters': {'type': 'object', 'properties': {'dashboardUid': {'type': 'string', 'description': 'Dashboard UID (required for dashboard and panel types)'}, 'datasourceUid': {'type': 'string', 'description': 'Datasource UID (required for explore type)'}, 'panelId': {'type': 'integer', 'description': 'Panel ID (required for panel type)'}, 'queryParams': {'type': 'object', 'description': 'Additional query parameters', 'additionalProperties': {'type': 'string'}}, 'resourceType': {'type': 'string', 'description': 'Type of resource: dashboard, panel, or explore'}, 'timeRange': {'type': 'object', 'description': 'Time range for the link', 'properties': {'from': {'type': 'string', 'description': "Start time (e.g., 'now-1h')"}, 'to': {'type': 'string', 'description': "End time (e.g., 'now')"}}}}, 'required': ['resourceType'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_alert_rule_by_uid', 'description': 'Retrieves the full configuration and detailed status of a specific Grafana alert rule identified by its unique ID (UID). The response includes fields like title, condition, query data, folder UID, rule group, state settings (no data, error), evaluation interval, annotations, and labels.', 'parameters': {'type': 'object', 'properties': {'uid': {'type': 'string', 'description': 'The uid of the alert rule'}}, 'required': ['uid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_assertions', 'description': 'Get assertion summary for a given entity with its type, name, env, site, namespace, and a time range', 'parameters': {'type': 'object', 'properties': {'endTime': {'type': 'string', 'description': 'The end time in RFC3339 format', 'format': 'date-time'}, 'entityName': {'type': 'string', 'description': 'The name of the entity to list'}, 'entityType': {'type': 'string', 'description': 'The type of the entity to list (e.g. Service, Node, Pod, etc.)'}, 'env': {'type': 'string', 'description': 'The env of the entity to list'}, 'namespace': {'type': 'string', 'description': 'The namespace of the entity to list'}, 'site': {'type': 'string', 'description': 'The site of the entity to list'}, 'startTime': {'type': 'string', 'description': 'The start time in RFC3339 format', 'format': 'date-time'}}, 'required': ['startTime', 'endTime'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_current_oncall_users', 'description': 'Get the list of users currently on-call for a specific Grafana OnCall schedule ID. Returns the schedule ID, name, and a list of detailed user objects for those currently on call.', 'parameters': {'type': 'object', 'properties': {'scheduleId': {'type': 'string', 'description': 'The ID of the schedule to get current on-call users for'}}, 'required': ['scheduleId'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_dashboard_by_uid', 'description': 'Retrieves the complete dashboard, including panels, variables, and settings, for a specific dashboard identified by its UID. WARNING: Large dashboards can consume significant context window space. Consider using get_dashboard_summary for overview or get_dashboard_property for specific data instead.', 'parameters': {'type': 'object', 'properties': {'uid': {'type': 'string', 'description': 'The UID of the dashboard'}}, 'required': ['uid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_dashboard_panel_queries', 'description': 'Use this tool to retrieve panel queries and information from a Grafana dashboard. When asked about panel queries, queries in a dashboard, or what queries a dashboard contains, call this tool with the dashboard UID. The datasource is an object with fields `uid` (which may be a concrete UID or a template variable like "$datasource") and `type`. If the datasource UID is a template variable, it won\'t be usable directly for queries. Returns an array of objects, each representing a panel, with fields: title, query, and datasource (an object with uid and type).', 'parameters': {'type': 'object', 'properties': {'uid': {'type': 'string', 'description': 'The UID of the dashboard'}}, 'required': ['uid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_dashboard_property', 'description': "Get specific parts of a dashboard using JSONPath expressions to minimize context window usage. Common paths: '$.title' (title)\\, '$.panels[*].title' (all panel titles)\\, '$.panels[0]' (first panel)\\, '$.templating.list' (variables)\\, '$.tags' (tags)\\, '$.panels[*].targets[*].expr' (all queries). Use this instead of get_dashboard_by_uid when you only need specific dashboard properties.", 'parameters': {'type': 'object', 'properties': {'jsonPath': {'type': 'string', 'description': "JSONPath expression to extract specific data (e.g., '$.panels[0].title' for first panel title, '$.panels[*].title' for all panel titles, '$.templating.list' for variables)"}, 'uid': {'type': 'string', 'description': 'The UID of the dashboard'}}, 'required': ['uid', 'jsonPath'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_dashboard_summary', 'description': 'Get a compact summary of a dashboard including title\\, panel count\\, panel types\\, variables\\, and other metadata without the full JSON. Use this for dashboard overview and planning modifications without consuming large context windows.', 'parameters': {'type': 'object', 'properties': {'uid': {'type': 'string', 'description': 'The UID of the dashboard'}}, 'required': ['uid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_datasource_by_name', 'description': 'Retrieves detailed information about a specific datasource using its name. Returns the full datasource model, including UID, type, URL, access settings, JSON data, and secure JSON field status.', 'parameters': {'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name of the datasource'}}, 'required': ['name'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_datasource_by_uid', 'description': 'Retrieves detailed information about a specific datasource using its UID. Returns the full datasource model, including name, type, URL, access settings, JSON data, and secure JSON field status.', 'parameters': {'type': 'object', 'properties': {'uid': {'type': 'string', 'description': 'The uid of the datasource'}}, 'required': ['uid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_incident', 'description': 'Get a single incident by ID. Returns the full incident details including title, status, severity, labels, timestamps, and other metadata.', 'parameters': {'type': 'object', 'properties': {'id': {'type': 'string', 'description': 'The ID of the incident to retrieve'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_oncall_shift', 'description': 'Get detailed information for a specific Grafana OnCall shift using its ID. A shift represents a designated time period within a schedule when users are actively on-call. Returns the full shift details.', 'parameters': {'type': 'object', 'properties': {'shiftId': {'type': 'string', 'description': 'The ID of the shift to get details for'}}, 'required': ['shiftId'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_sift_analysis', 'description': 'Retrieves a specific analysis from an investigation by its UUID. The investigation ID and analysis ID should be provided as strings in UUID format.', 'parameters': {'type': 'object', 'properties': {'analysisId': {'type': 'string', 'description': 'The UUID of the specific analysis to retrieve'}, 'investigationId': {'type': 'string', 'description': "The UUID of the investigation as a string (e.g. '02adab7c-bf5b-45f2-9459-d71a2c29e11b')"}}, 'required': ['investigationId', 'analysisId'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'get_sift_investigation', 'description': "Retrieves an existing Sift investigation by its UUID. The ID should be provided as a string in UUID format (e.g. '02adab7c-bf5b-45f2-9459-d71a2c29e11b').", 'parameters': {'type': 'object', 'properties': {'id': {'type': 'string', 'description': "The UUID of the investigation as a string (e.g. '02adab7c-bf5b-45f2-9459-d71a2c29e11b')"}}, 'required': ['id'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_alert_rules', 'description': "Lists Grafana alert rules, returning a summary including UID, title, current state (e.g., 'pending', 'firing', 'inactive'), and labels. Supports filtering by labels using selectors and pagination. Example label selector: `[{'name': 'severity', 'type': '=', 'value': 'critical'}]`. Inactive state means the alert state is normal, not firing", 'parameters': {'type': 'object', 'properties': {'label_selectors': {'type': 'array', 'description': 'Optionally, a list of matchers to filter alert rules by labels', 'items': {'type': 'object', 'properties': {'filters': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'value', 'type'], 'properties': {'name': {'type': 'string', 'description': 'The name of the label to match against'}, 'type': {'type': 'string', 'description': "One of the '=' or '!=' or '=~' or '!~'"}, 'value': {'type': 'string', 'description': 'The value to match against'}}}}}}}, 'limit': {'type': 'integer', 'description': 'The maximum number of results to return. Default is 100.'}, 'page': {'type': 'integer', 'description': 'The page number to return.'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_contact_points', 'description': 'Lists Grafana notification contact points, returning a summary including UID, name, and type for each. Supports filtering by name - exact match - and limiting the number of results.', 'parameters': {'type': 'object', 'properties': {'limit': {'type': 'integer', 'description': 'The maximum number of results to return. Default is 100.'}, 'name': {'type': 'string', 'description': 'Filter contact points by name'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_datasources', 'description': "List available Grafana datasources. Optionally filter by datasource type (e.g., 'prometheus', 'loki'). Returns a summary list including ID, UID, name, type, and default status.", 'parameters': {'type': 'object', 'properties': {'type': {'type': 'string', 'description': "The type of datasources to search for. For example, 'prometheus', 'loki', 'tempo', etc..."}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_incidents', 'description': "List Grafana incidents. Allows filtering by status ('active', 'resolved') and optionally including drill incidents. Returns a preview list with basic details.", 'parameters': {'type': 'object', 'properties': {'drill': {'type': 'boolean', 'description': 'Whether to include drill incidents'}, 'limit': {'type': 'integer', 'description': 'The maximum number of incidents to return'}, 'status': {'type': 'string', 'description': "The status of the incidents to include. Valid values: 'active', 'resolved'"}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_loki_label_names', 'description': 'Lists all available label names (keys) found in logs within a specified Loki datasource and time range. Returns a list of unique label strings (e.g., `["app", "env", "pod"]`). If the time range is not provided, it defaults to the last hour.', 'parameters': {'type': 'object', 'properties': {'datasourceUid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'endRfc3339': {'type': 'string', 'description': 'Optionally, the end time of the query in RFC3339 format (defaults to now)'}, 'startRfc3339': {'type': 'string', 'description': 'Optionally, the start time of the query in RFC3339 format (defaults to 1 hour ago)'}}, 'required': ['datasourceUid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_loki_label_values', 'description': 'Retrieves all unique values associated with a specific `labelName` within a Loki datasource and time range. Returns a list of string values (e.g., for `labelName="env"`, might return `["prod", "staging", "dev"]`). Useful for discovering filter options. Defaults to the last hour if the time range is omitted.', 'parameters': {'type': 'object', 'properties': {'datasourceUid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'endRfc3339': {'type': 'string', 'description': 'Optionally, the end time of the query in RFC3339 format (defaults to now)'}, 'labelName': {'type': 'string', 'description': "The name of the label to retrieve values for (e.g. 'app', 'env', 'pod')"}, 'startRfc3339': {'type': 'string', 'description': 'Optionally, the start time of the query in RFC3339 format (defaults to 1 hour ago)'}}, 'required': ['datasourceUid', 'labelName'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_oncall_schedules', 'description': 'List Grafana OnCall schedules, optionally filtering by team ID. If a specific schedule ID is provided, retrieves details for only that schedule. Returns a list of schedule summaries including ID, name, team ID, timezone, and shift IDs. Supports pagination.', 'parameters': {'type': 'object', 'properties': {'page': {'type': 'integer', 'description': 'The page number to return (1-based)'}, 'scheduleId': {'type': 'string', 'description': "The ID of the schedule to get details for. If provided, returns only that schedule's details"}, 'teamId': {'type': 'string', 'description': 'The ID of the team to list schedules for'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_oncall_teams', 'description': 'List teams configured in Grafana OnCall. Returns a list of team objects with their details. Supports pagination.', 'parameters': {'type': 'object', 'properties': {'page': {'type': 'integer', 'description': 'The page number to return'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_oncall_users', 'description': 'List users from Grafana OnCall. Can retrieve all users, a specific user by ID, or filter by username. Returns a list of user objects with their details. Supports pagination.', 'parameters': {'type': 'object', 'properties': {'page': {'type': 'integer', 'description': 'The page number to return'}, 'userId': {'type': 'string', 'description': "The ID of the user to get details for. If provided, returns only that user's details"}, 'username': {'type': 'string', 'description': 'The username to filter users by. If provided, returns only the user matching this username'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_prometheus_label_names', 'description': 'List label names in a Prometheus datasource. Allows filtering by series selectors and time range.', 'parameters': {'type': 'object', 'properties': {'datasourceUid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'endRfc3339': {'type': 'string', 'description': 'Optionally, the end time of the time range to filter the results by'}, 'limit': {'type': 'integer', 'description': 'Optionally, the maximum number of results to return'}, 'matches': {'type': 'array', 'description': 'Optionally, a list of label matchers to filter the results by', 'items': {'type': 'object', 'properties': {'filters': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'value', 'type'], 'properties': {'name': {'type': 'string', 'description': 'The name of the label to match against'}, 'type': {'type': 'string', 'description': "One of the '=' or '!=' or '=~' or '!~'"}, 'value': {'type': 'string', 'description': 'The value to match against'}}}}}}}, 'startRfc3339': {'type': 'string', 'description': 'Optionally, the start time of the time range to filter the results by'}}, 'required': ['datasourceUid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_prometheus_label_values', 'description': 'Get the values for a specific label name in Prometheus. Allows filtering by series selectors and time range.', 'parameters': {'type': 'object', 'properties': {'datasourceUid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'endRfc3339': {'type': 'string', 'description': 'Optionally, the end time of the query'}, 'labelName': {'type': 'string', 'description': 'The name of the label to query'}, 'limit': {'type': 'integer', 'description': 'Optionally, the maximum number of results to return'}, 'matches': {'type': 'array', 'description': 'Optionally, a list of selectors to filter the results by', 'items': {'type': 'object', 'properties': {'filters': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'value', 'type'], 'properties': {'name': {'type': 'string', 'description': 'The name of the label to match against'}, 'type': {'type': 'string', 'description': "One of the '=' or '!=' or '=~' or '!~'"}, 'value': {'type': 'string', 'description': 'The value to match against'}}}}}}}, 'startRfc3339': {'type': 'string', 'description': 'Optionally, the start time of the query'}}, 'required': ['datasourceUid', 'labelName'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_prometheus_metric_metadata', 'description': 'List Prometheus metric metadata. Returns metadata about metrics currently scraped from targets. Note: This endpoint is experimental.', 'parameters': {'type': 'object', 'properties': {'datasourceUid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'limit': {'type': 'integer', 'description': 'The maximum number of metrics to return'}, 'limitPerMetric': {'type': 'integer', 'description': 'The maximum number of metrics to return per metric'}, 'metric': {'type': 'string', 'description': 'The metric to query'}}, 'required': ['datasourceUid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_prometheus_metric_names', 'description': 'List metric names in a Prometheus datasource. Retrieves all metric names and then filters them locally using the provided regex. Supports pagination.', 'parameters': {'type': 'object', 'properties': {'datasourceUid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'limit': {'type': 'integer', 'description': 'The maximum number of results to return'}, 'page': {'type': 'integer', 'description': 'The page number to return'}, 'regex': {'type': 'string', 'description': 'The regex to match against the metric names'}}, 'required': ['datasourceUid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_pyroscope_label_names', 'description': 'Lists all available label names (keys) found in profiles within a specified Pyroscope datasource, time range, and\noptional label matchers. Label matchers are typically used to qualify a service name ({service_name="foo"}). Returns a\nlist of unique label strings (e.g., ["app", "env", "pod"]). Label names with double underscores (e.g. __name__) are\ninternal and rarely useful to users. If the time range is not provided, it defaults to the last hour.', 'parameters': {'type': 'object', 'properties': {'data_source_uid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'end_rfc_3339': {'type': 'string', 'description': 'Optionally, the end time of the query in RFC3339 format (defaults to now)'}, 'matchers': {'type': 'string'}, 'start_rfc_3339': {'type': 'string', 'description': 'Optionally, the start time of the query in RFC3339 format (defaults to 1 hour ago)'}}, 'required': ['data_source_uid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_pyroscope_label_values', 'description': 'Lists all available label values for a particular label name found in profiles within a specified Pyroscope datasource,\ntime range, and optional label matchers. Label matchers are typically used to qualify a service name ({service_name="foo"}).\nReturns a list of unique label strings (e.g. for label name "env": ["dev", "staging", "prod"]). If the time range\nis not provided, it defaults to the last hour.', 'parameters': {'type': 'object', 'properties': {'data_source_uid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'end_rfc_3339': {'type': 'string', 'description': 'Optionally, the end time of the query in RFC3339 format (defaults to now)'}, 'matchers': {'type': 'string', 'description': 'Optionally, Prometheus style matchers used to filter the result set (defaults to: {})'}, 'name': {'type': 'string', 'description': 'A label name'}, 'start_rfc_3339': {'type': 'string', 'description': 'Optionally, the start time of the query in RFC3339 format (defaults to 1 hour ago)'}}, 'required': ['data_source_uid', 'name'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_pyroscope_profile_types', 'description': 'Lists all available profile types available in a specified Pyroscope datasource and time range. Returns a list of all\navailable profile types (example profile type: "process_cpu:cpu:nanoseconds:cpu:nanoseconds"). A profile type has the\nfollowing structure: <name>:<sample type>:<sample unit>:<period type>:<period unit>. Not all profile types are available\nfor every service. If the time range is not provided, it defaults to the last hour.', 'parameters': {'type': 'object', 'properties': {'data_source_uid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'end_rfc_3339': {'type': 'string', 'description': 'Optionally, the end time of the query in RFC3339 format (defaults to now)'}, 'start_rfc_3339': {'type': 'string', 'description': 'Optionally, the start time of the query in RFC3339 format (defaults to 1 hour ago)'}}, 'required': ['data_source_uid'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_sift_investigations', 'description': 'Retrieves a list of Sift investigations with an optional limit. If no limit is specified, defaults to 10 investigations.', 'parameters': {'type': 'object', 'properties': {'limit': {'type': 'integer', 'description': 'Maximum number of investigations to return. Defaults to 10 if not specified.'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_teams', 'description': 'Search for Grafana teams by a query string. Returns a list of matching teams with details like name, ID, and URL.', 'parameters': {'type': 'object', 'properties': {'query': {'type': 'string', 'description': 'The query to search for teams. Can be left empty to fetch all teams'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'list_users_by_org', 'description': 'List users by organization. Returns a list of users with details like userid, email, role etc.', 'parameters': {'type': 'object', 'properties': {}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'query_loki_logs', 'description': 'Executes a LogQL query against a Loki datasource to retrieve log entries or metric values. Returns a list of results, each containing a timestamp, labels, and either a log line (`line`) or a numeric metric value (`value`). Defaults to the last hour, a limit of 10 entries, and \'backward\' direction (newest first). Supports full LogQL syntax for log and metric queries (e.g., `{app="foo"} |= "error"`, `rate({app="bar"}[1m])`). Prefer using `query_loki_stats` first to check stream size and `list_loki_label_names` and `list_loki_label_values` to verify labels exist.', 'parameters': {'type': 'object', 'properties': {'datasourceUid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'direction': {'type': 'string', 'description': "Optionally, the direction of the query: 'forward' (oldest first) or 'backward' (newest first, default)"}, 'endRfc3339': {'type': 'string', 'description': 'Optionally, the end time of the query in RFC3339 format'}, 'limit': {'type': 'integer', 'description': 'Optionally, the maximum number of log lines to return (default: 10, max: 100)'}, 'logql': {'type': 'string', 'description': 'The LogQL query to execute against Loki. This can be a simple label matcher or a complex query with filters, parsers, and expressions. Supports full LogQL syntax including label matchers, filter operators, pattern expressions, and pipeline operations.'}, 'startRfc3339': {'type': 'string', 'description': 'Optionally, the start time of the query in RFC3339 format'}}, 'required': ['datasourceUid', 'logql'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'query_loki_stats', 'description': 'Retrieves statistics about log streams matching a given LogQL *selector* within a Loki datasource and time range. Returns an object containing the count of streams, chunks, entries, and total bytes (e.g., `{"streams": 5, "chunks": 50, "entries": 10000, "bytes": 512000}`). The `logql` parameter **must** be a simple label selector (e.g., `{app="nginx", env="prod"}`) and does not support line filters, parsers, or aggregations. Defaults to the last hour if the time range is omitted.', 'parameters': {'type': 'object', 'properties': {'datasourceUid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'endRfc3339': {'type': 'string', 'description': 'Optionally, the end time of the query in RFC3339 format'}, 'logql': {'type': 'string', 'description': 'The LogQL matcher expression to execute. This parameter only accepts label matcher expressions and does not support full LogQL queries. Line filters, pattern operations, and metric aggregations are not supported by the stats API endpoint. Only simple label selectors can be used here.'}, 'startRfc3339': {'type': 'string', 'description': 'Optionally, the start time of the query in RFC3339 format'}}, 'required': ['datasourceUid', 'logql'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'query_prometheus', 'description': "Query Prometheus using a PromQL expression. Supports both instant queries (at a single point in time) and range queries (over a time range). Time can be specified either in RFC3339 format or as relative time expressions like 'now', 'now-1h', 'now-30m', etc.", 'parameters': {'type': 'object', 'properties': {'datasourceUid': {'type': 'string', 'description': 'The UID of the datasource to query'}, 'endTime': {'type': 'string', 'description': "The end time. Required if queryType is 'range', ignored if queryType is 'instant' Supported formats are RFC3339 or relative to now (e.g. 'now', 'now-1.5h', 'now-2h45m'). Valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h', 'd'."}, 'expr': {'type': 'string', 'description': 'The PromQL expression to query'}, 'queryType': {'type': 'string', 'description': "The type of query to use. Either 'range' or 'instant'"}, 'startTime': {'type': 'string', 'description': "The start time. Supported formats are RFC3339 or relative to now (e.g. 'now', 'now-1.5h', 'now-2h45m'). Valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h', 'd'."}, 'stepSeconds': {'type': 'integer', 'description': "The time series step size in seconds. Required if queryType is 'range', ignored if queryType is 'instant'"}}, 'required': ['datasourceUid', 'expr', 'startTime'], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'search_dashboards', 'description': 'Search for Grafana dashboards by a query string. Returns a list of matching dashboards with details like title, UID, folder, tags, and URL.', 'parameters': {'type': 'object', 'properties': {'query': {'type': 'string', 'description': 'The query to search for'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
grafana
|
other
|
{'type': 'function', 'name': 'update_dashboard', 'description': "Create or update a dashboard using either full JSON or efficient patch operations. For new dashboards\\, provide the 'dashboard' field. For updating existing dashboards\\, use 'uid' + 'operations' for better context window efficiency. Patch operations support complex JSONPaths like '$.panels[0].targets[0].expr'\\, '$.panels[1].title'\\, '$.panels[2].targets[0].datasource'\\, etc. Supports appending to arrays using '/- ' syntax: '$.panels/- ' appends to panels array\\, '$.panels[2]/- ' appends to nested array at index 2.", 'parameters': {'type': 'object', 'properties': {'dashboard': {'type': 'object', 'description': 'The full dashboard JSON. Use for creating new dashboards or complete updates. Large dashboards consume significant context - consider using patches for small changes.'}, 'folderUid': {'type': 'string', 'description': "The UID of the dashboard's folder"}, 'message': {'type': 'string', 'description': 'Set a commit message for the version history'}, 'operations': {'type': 'array', 'description': 'Array of patch operations for targeted updates. More efficient than full dashboard JSON for small changes.', 'items': {'type': 'object', 'required': ['op', 'path'], 'properties': {'op': {'type': 'string', 'description': "Operation type: 'replace', 'add', 'remove'"}, 'path': {'type': 'string', 'description': "JSONPath to the property to modify. Supports: '$.title', '$.panels[0].title', '$.panels[0].targets[0].expr', '$.panels[1].targets[0].datasource', etc. For appending to arrays, use '/- ' syntax: '$.panels/- ' (append to panels array) or '$.panels[2]/- ' (append to nested array at index 2)."}, 'value': {'description': 'New value for replace/add operations'}}}}, 'overwrite': {'type': 'boolean', 'description': 'Overwrite the dashboard if it exists. Otherwise create one'}, 'uid': {'type': 'string', 'description': 'UID of existing dashboard to update. Required when using patch operations.'}, 'userId': {'type': 'integer', 'description': 'ID of the user making the change'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'create_addon', 'description': 'Create add-on: specify service, plan, custom names', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app for add-on. Must have write access. Region/space affects availability'}, 'as': {'type': 'string', 'description': 'Custom attachment name. Used for config vars prefix. Must be unique in app'}, 'name': {'type': 'string', 'description': 'Global add-on identifier. Must be unique across all Heroku add-ons'}, 'serviceAndPlan': {'type': 'string', 'description': 'Format: service_slug:plan_slug (e.g., heroku-postgresql:essential-0)'}}, 'required': ['app', 'serviceAndPlan'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'create_app', 'description': 'Create app: custom name, region (US/EU), team, private space', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'App name. Auto-generated if omitted'}, 'region': {'type': 'string', 'description': 'Region: us/eu. Default: us. Excludes space param', 'enum': ['us', 'eu']}, 'space': {'type': 'string', 'description': 'Private space name. Inherits region. Excludes region param'}, 'team': {'type': 'string', 'description': 'Team name for ownership'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'deploy_one_off_dyno', 'description': 'Run code/commands in Heroku one-off dyno with network and filesystem access.\n\nRequirements:\n- Show command output\n- Use app_info for buildpack detection\n- Support shell setup commands\n- Use stdout/stderr\n\nFeatures:\n- Network/filesystem access\n- Environment variables\n- File operations\n- Temp directory handling\n\nUsage:\n1. Use Heroku runtime\n2. Proper syntax/imports\n3. Organized code structure\n4. Package management:\n - Define dependencies\n - Minimize external deps\n - Prefer native modules\n\nExample package.json:\n```json\n{\n "type": "module",\n "dependencies": {\n "axios": "^1.6.0"\n }\n}\n```', 'parameters': {'type': 'object', 'properties': {'command': {'type': 'string', 'description': 'Command to run in dyno.'}, 'env': {'type': 'object', 'description': 'Dyno environment variables.', 'additionalProperties': True}, 'name': {'type': 'string', 'description': 'Target Heroku app name.', 'minLength': 5, 'maxLength': 30}, 'size': {'type': 'string', 'description': 'Dyno size.', 'default': 'standard-1x'}, 'sources': {'type': 'array', 'description': 'Source files to include in dyno.', 'items': {'type': 'object', 'required': ['relativePath', 'contents'], 'properties': {'contents': {'type': 'string', 'description': 'File contents.'}, 'relativePath': {'type': 'string', 'description': 'Virtual path for tarball entry.'}}, 'additionalProperties': False}}, 'timeToLive': {'type': 'number', 'description': 'Dyno lifetime in seconds.', 'default': 3600}}, 'required': ['name', 'command'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'deploy_to_heroku', 'description': 'Use for all deployments. Deploys new/existing apps, with or without teams/spaces, and env vars to Heroku. Ask for app name if missing. Requires valid app.json via appJson param.', 'parameters': {'type': 'object', 'properties': {'appJson': {'type': 'string', 'description': 'App.json config for deployment. Must follow schema: {"default":{"$schema":"http://json-schema.org/draft-07/schema#","title":"Heroku app.json Schema","description":"app.json is a manifest format for describing web apps. It declares environment variables, add-ons, and other information required to run an app on Heroku. Used for dynamic configurations or converted projects","type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z-_\\\\.]+","maxLength":300},"description":{"type":"string"},"keywords":{"type":"array","items":{"type":"string"}},"website":{"$ref":"#/definitions/uriString"},"repository":{"$ref":"#/definitions/uriString"},"logo":{"$ref":"#/definitions/uriString"},"success_url":{"type":"string"},"scripts":{"$ref":"#/definitions/scripts"},"env":{"$ref":"#/definitions/env"},"formation":{"$ref":"#/definitions/formation"},"addons":{"$ref":"#/definitions/addons"},"buildpacks":{"$ref":"#/definitions/buildpacks"},"environments":{"$ref":"#/definitions/environments"},"stack":{"$ref":"#/definitions/stack"},"image":{"type":"string"}},"additionalProperties":false,"definitions":{"uriString":{"type":"string","format":"uri"},"scripts":{"type":"object","properties":{"postdeploy":{"type":"string"},"pr-predestroy":{"type":"string"}},"additionalProperties":false},"env":{"type":"object","patternProperties":{"^[A-Z][A-Z0-9_]*$":{"type":"object","properties":{"description":{"type":"string"},"value":{"type":"string"},"required":{"type":"boolean"},"generator":{"type":"string","enum":["secret"]}},"additionalProperties":false}}},"dynoSize":{"type":"string","enum":["free","eco","hobby","basic","standard-1x","standard-2x","performance-m","performance-l","private-s","private-m","private-l","shield-s","shield-m","shield-l"]},"formation":{"type":"object","patternProperties":{"^[a-zA-Z0-9_-]+$":{"type":"object","properties":{"quantity":{"type":"integer","minimum":0},"size":{"$ref":"#/definitions/dynoSize"}},"required":["quantity"],"additionalProperties":false}}},"addons":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"object","properties":{"plan":{"type":"string"},"as":{"type":"string"},"options":{"type":"object"}},"required":["plan"],"additionalProperties":false}]}},"buildpacks":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false}},"environmentConfig":{"type":"object","properties":{"env":{"type":"object"},"formation":{"type":"object"},"addons":{"type":"array"},"buildpacks":{"type":"array"}}},"environments":{"type":"object","properties":{"test":{"allOf":[{"$ref":"#/definitions/environmentConfig"},{"type":"object","properties":{"scripts":{"type":"object","properties":{"test":{"type":"string"}},"additionalProperties":false}}}]},"review":{"$ref":"#/definitions/environmentConfig"},"production":{"$ref":"#/definitions/environmentConfig"}},"additionalProperties":false},"stack":{"type":"string","enum":["heroku-18","heroku-20","heroku-22","heroku-24"]}}}}'}, 'env': {'type': 'object', 'description': 'Environment variables overriding app.json values', 'additionalProperties': True}, 'internalRouting': {'type': 'boolean', 'description': 'Enable internal routing in private spaces.'}, 'name': {'type': 'string', 'description': 'App name for deployment. Creates new app if not exists.', 'minLength': 5, 'maxLength': 30}, 'rootUri': {'type': 'string', 'description': 'Workspace root directory path.', 'minLength': 1}, 'spaceId': {'type': 'string', 'description': 'Private space ID for space deployments.'}, 'tarballUri': {'type': 'string', 'description': 'URL of deployment tarball. Creates from rootUri if not provided.'}, 'teamId': {'type': 'string', 'description': 'Team ID for team deployments.'}}, 'required': ['name', 'rootUri', 'appJson'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'get_addon_info', 'description': 'Get add-on details: plan, state, billing', 'parameters': {'type': 'object', 'properties': {'addon': {'type': 'string', 'description': 'Add-on identifier: UUID, name (postgresql-curved-12345), or attachment name (DATABASE)'}, 'app': {'type': 'string', 'description': 'App context for add-on lookup. Required for attachment names. Uses Git remote default'}}, 'required': ['addon'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'get_app_info', 'description': 'Get app details: config, dynos, addons, access, domains', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app name. Requires access permissions'}, 'json': {'type': 'boolean', 'description': 'JSON output with full metadata. Default: text format'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'get_app_logs', 'description': 'App logs: monitor/debug/filter by dyno/process/source', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Heroku app name. Requires: permissions, Cedar-gen'}, 'dynoName': {'type': 'string', 'description': 'Format: web.1/worker.2. Excludes processType'}, 'processType': {'type': 'string', 'description': 'web|worker. All instances. Excludes dynoName'}, 'source': {'type': 'string', 'description': 'app=application, heroku=platform. Default: all'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'list_addon_plans', 'description': 'List service plans: features, pricing, availability', 'parameters': {'type': 'object', 'properties': {'json': {'type': 'boolean', 'description': 'JSON output with pricing, features, space compatibility. Default: text format'}, 'service': {'type': 'string', 'description': 'Service slug (e.g., heroku-postgresql). Get from list_addon_services'}}, 'required': ['service'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'list_addon_services', 'description': 'List available add-on services and features', 'parameters': {'type': 'object', 'properties': {'json': {'type': 'boolean', 'description': 'JSON output with sharing options and app generation support. Default: basic text'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'list_addons', 'description': 'List add-ons: all apps or specific app, detailed metadata', 'parameters': {'type': 'object', 'properties': {'all': {'type': 'boolean', 'description': 'List all add-ons across accessible apps. Overrides app param, shows full status'}, 'app': {'type': 'string', 'description': 'Filter by app name. Shows add-ons and attachments. Uses Git remote default if omitted'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'list_apps', 'description': 'List Heroku apps: owned, collaborator access, team/space filtering', 'parameters': {'type': 'object', 'properties': {'all': {'type': 'boolean', 'description': 'Show owned apps and collaborator access. Default: owned only'}, 'personal': {'type': 'boolean', 'description': 'List personal account apps only, ignoring default team'}, 'space': {'type': 'string', 'description': 'Filter by private space name. Excludes team param'}, 'team': {'type': 'string', 'description': 'Filter by team name. Excludes space param'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'list_private_spaces', 'description': 'Lists Heroku Private Spaces with CIDR blocks, regions, compliance and capacity details. JSON output supported.', 'parameters': {'type': 'object', 'properties': {'json': {'type': 'boolean', 'description': 'JSON output for detailed space metadata, text output if false/omitted'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'list_teams', 'description': 'Lists accessible Heroku Teams. Use for: viewing teams, checking membership, getting team metadata, and verifying access. JSON output available.', 'parameters': {'type': 'object', 'properties': {'json': {'type': 'boolean', 'description': 'Output format control - true for detailed JSON with team metadata, false/omitted for simplified text'}}, 'required': [], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'maintenance_off', 'description': 'Disable maintenance mode and restore normal app operations', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target Heroku app name'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'maintenance_on', 'description': 'Enable maintenance mode and redirect traffic for a Heroku app', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target Heroku app name'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'pg_backups', 'description': 'Manage backups: schedules, status, verification, recovery', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app name'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'pg_credentials', 'description': 'Manage access: credentials, permissions, security, monitoring', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app name'}, 'database': {'type': 'string', 'description': 'Database identifier. Format: APP_NAME::DB for other apps. Default: DATABASE_URL'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'pg_info', 'description': 'View database status: config, metrics, resources, health', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app name'}, 'database': {'type': 'string', 'description': 'Database identifier. Format: APP_NAME::DB for other apps. Default: all databases'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'pg_kill', 'description': 'Stop processes: stuck queries, blocking transactions, runaway operations', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app name'}, 'database': {'type': 'string', 'description': 'Database identifier. Format: APP_NAME::DB for other apps. Default: DATABASE_URL'}, 'force': {'type': 'boolean', 'description': 'Force immediate termination'}, 'pid': {'type': 'number', 'description': 'Process ID to terminate'}}, 'required': ['app', 'pid'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'pg_locks', 'description': 'Analyze locks: blocked queries, deadlocks, concurrency', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app name'}, 'database': {'type': 'string', 'description': 'Database identifier. Format: APP_NAME::DB for other apps. Default: DATABASE_URL'}, 'truncate': {'type': 'boolean', 'description': 'Truncate queries to 40 chars'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'pg_maintenance', 'description': 'Track maintenance: windows, schedules, progress, planning', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app name'}, 'database': {'type': 'string', 'description': 'Database identifier. Format: APP_NAME::DB for other apps. Default: DATABASE_URL'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'pg_outliers', 'description': 'Find resource-heavy queries: performance, patterns, optimization', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app name'}, 'database': {'type': 'string', 'description': 'Database identifier. Format: APP_NAME::DB for other apps. Default: DATABASE_URL'}, 'num': {'type': 'number', 'description': 'Number of queries to show. Default: 10'}, 'reset': {'type': 'boolean', 'description': 'Reset pg_stat_statements stats'}, 'truncate': {'type': 'boolean', 'description': 'Truncate queries to 40 chars'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'pg_ps', 'description': 'Monitor active queries: progress, resources, performance', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app name'}, 'database': {'type': 'string', 'description': 'Database identifier. Format: APP_NAME::DB for other apps. Default: DATABASE_URL'}, 'verbose': {'type': 'boolean', 'description': 'Show query plan and memory usage'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'pg_psql', 'description': 'Execute SQL queries: analyze, debug, modify schema, manage data', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'app to run command against'}, 'command': {'type': 'string', 'description': 'SQL command. Single line. Ignored if file provided'}, 'credential': {'type': 'string', 'description': 'credential to use'}, 'database': {'type': 'string', 'description': 'Database identifier: config var, name, ID, alias. Format: APP_NAME::DB for other apps. Default: DATABASE_URL'}, 'file': {'type': 'string', 'description': 'SQL file path. Ignored if command provided'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
heroku
|
other
|
{'type': 'function', 'name': 'pg_upgrade', 'description': 'Upgrade PostgreSQL: version migration, compatibility, safety', 'parameters': {'type': 'object', 'properties': {'app': {'type': 'string', 'description': 'Target app name'}, 'confirm': {'type': 'string', 'description': 'Confirmation for destructive operation'}, 'database': {'type': 'string', 'description': 'Database identifier. Format: APP_NAME::DB for other apps. Default: DATABASE_URL'}, 'version': {'type': 'string', 'description': 'PostgreSQL version target'}}, 'required': ['app'], 'additionalProperties': False}, 'strict': True}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.