Skip to content

Conversation

@shopewf
Copy link
Member

@shopewf shopewf commented Oct 31, 2025

Description

This PR includes fixes for the existing logging MCP server tools, as well as adds the get_log_group tool.

Another tool added is the search_logs tool. This requires the construction of a log query. Knowledge has been passed to the tool through a markdown file specifically for constructing these queries.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Test list_log_groups
  • Test get_log_group
  • Test list_logs
  • Test get_log
  • Test the search_log functionality

With the search_log tool, try passing in a query that searches for a specific event. I tried mine with create instance event, and grouped them by user who created the instance.

Example:
"show me logs from the past week for any create instance, and please group them by user who created them"

Tested it with oca/grok4 model

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 31, 2025
@shopewf shopewf force-pushed the wshope/chore-logging branch from eec7f87 to 289a80b Compare October 31, 2025 19:37
@shopewf shopewf force-pushed the wshope/chore-logging branch 2 times, most recently from 105fb9c to 2a64bf7 Compare November 4, 2025 00:21
@shopewf shopewf force-pushed the wshope/chore-logging branch 3 times, most recently from 37fb9a8 to ea43a0f Compare November 5, 2025 20:43
Signed-off-by: will.shope <[email protected]>
@shopewf shopewf force-pushed the wshope/chore-logging branch from ea43a0f to f1bab4b Compare November 6, 2025 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants