Count Test Suites
Description
Returns the number of AttackForge testsuites matching the optional filter. A testsuite is a reusable methodology - a named, taggable collection of test cases that can be added to a project's testing plan or proposed on a project request. Use this when you only need a total - call find_testsuites to retrieve the records.
See Test Cases and Methodology for how testsuites, test cases and project test cases relate.
How To Enable
Go to
UsersSelect the user you would like to provide access to this tool
Click on
Access > MCPClick on
Add ToolsSelect the tool
count_testsuitesand clickAdd
Example Prompts
How many testsuites do I have in AttackForge?
How many testsuites are available on project requests?
How many testsuites are tagged OWASP Top 10?
How many testsuites were created this year?
Parameters
filter
object
No
A MongoDB-style filter. Supported fields are listed below.
Supported filter fields:
id
ObjectId('<24 hex>')
created, modified
ISO-8601 datetime
name
string
code
string
is_visible_on_project_requests
boolean - supports $eq, $ne and $exists only
tags
array of string
user_id
ObjectId('<24 hex>')
A testsuite can be used on project requests unless
is_visible_on_project_requestsis explicitly set tofalse- testsuites where it has never been set are usable. Matching ontruecovers both, so{ is_visible_on_project_requests: { $eq: true } }needs no special handling.
Example Response
Last updated